The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation to update linked issue fields from Parent issue field change

Ian Robinson
Contributor
September 24, 2024

Hi,

I am struggling to get working my automation which will update the specific custom fields in a linked ticket when other specific things in the parent ticket is updated.

There is 5 customer fields in each project, named the same but are unique as the Project 2 is a Product Discovery project.

 

Project 1

"customfield_11309" NAME BE Priority

"customfield_11310" NAME DK Priority

"customfield_11313" NAME FR Priority

"customfield_11311" NAME NL Priority

"customfield_11312" NAME SE Priority

 

Project 2

"customfield_11358" Name BE Priority

"customfield_11360" Name DK Priority

"customfield_11356" Name FR Priority

"customfield_11357" Name NL Priority

"customfield_11359" Name SE Priority

 

Automation_Jira1.png

Automation_Jira2.png

What I am finding is that the automation runs successfully, but it sets the destination fields in project 2 to 'NONE' when the parent ticket fields are updated.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Walter Buggenhout
Community Champion
September 24, 2024

Hi @Ian Robinson,

To refer to the triggering issue in your smart values, use {{triggerIssue.customfield_xxxxx}} instead of {{issue.customfield_xxxxx}}. The latter refers to the issue you are editing, which does not have a value (yet).

Hope this helps!

Ian Robinson
Contributor
September 24, 2024

ahh of course! Thanks Walter, all working now.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events