Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Update field with assignee of parent issue

Mark Wheeler June 3, 2020

Hi there

I've created a Project Automation rule to create a new sub-task when certain conditions arise.

If a new sub-task is created then I would like to set a custom field, which is of type "User Picker (multiple users)" to the value of the Assignee of the parent issue.

I believe I need to use the "More Options" ... "Additional Fields" feature in Project Automation to do this.

I've tried the below and many other variations to get this logic working but no work.  Could someone put me out of my misery and help me if the JSON please ... so set a custom field to the value of the assignee from the parent issue, when the sub-task is being created.

{
"update": {
"customfield_10394" : [
{
"add": {
"id":"{{issue.parent.assignee.key}}"
}
}
]
}
}

1 answer

0 votes
Elad Ben-Noam June 18, 2020

hi @Mark Wheeler ,

 

There is no need for "more options" section.

you add the relevant field on the "edit issue" screen, then select from the three dots on the right side of the field to copy from and then select to copy from "parent" the "assignee" field. see images.ans_2.pngans_1.png

I hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events