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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

72 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you