Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,696
Community Members
 
Community Events
168
Community Groups

Update field with assignee of parent issue

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

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
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

3,119 views 10 9
Read article

Atlassian Community Events