Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner: assignee value is not being copied when subtask is created though it was specified

Robert Horan
Atlassian Partner
June 24, 2020

I am using the "Create a sub-task" scripted post-function.  

In "Fields to copy" I selected "Custom" from the radio button options and chose 'Assignee'

When my subtasks are created they are unassigned.

EDIT: This also happens when I choose to copy all fields

Please help.

1 answer

1 accepted

2 votes
Answer accepted
Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2020

Hi @Robert Horan 

Two things I would check would be:

- Are you able to manually create a sub-task and assign it to the user of the parent issue?

- Are the "As User" that you chose in the post-function allowed/able to create sub-tasks/issues in the project?

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2020

(deleted)

Rob Horan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2020

(deleted)

Robert Horan
Atlassian Partner
June 29, 2020

Hi Mathis,

Thank you for your reply - you were right on both accounts.  I hadn't realized that this workflow was adjusted to include a post-function that set assignee (I hadn't added it) and I made the assumption (BAD IDEA) that if I didn't add one nobody else did.  Thanks for breaking me out of that thought pattern!

Mathis Hellensberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2020

You’re welcome. Glad you found the issue :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events