Forums

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

Automation update an issue with the same parent

Todd Winton
Contributor
September 19, 2024

How would I update an issue with the same parent?

We have a common set of issues for new customer on boarding.  When go live issue type status is updated to in progress, we want the transition team issue type to be updated by automation.

Is there a way to do this?

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
September 19, 2024

Hello @Todd Winton 

Yes, that can be done with Automation.

Can you provide a screen image that shows an example parent issue in this case, with the "go live" and "transition team" child issues? I ask so that we can ascertain if those are Subtasks, or child issues under Epics, or if the relationship is created in some other manner.

Todd Winton
Contributor
September 26, 2024

They are child issues in the same epic.  I have included each of the issues.  and a screenshot of the automation and audit log.  It looks like this is trying to perform this on the parent when the goal is to do this for issues with the same parent and a specific value in structure_hierarchy

Automation Audit log.pngAutomation Rule.pngAutomation Retrospecitve.pngAutomation Go Live.pngAutomation Epic.png

Trudy Claspill
Community Champion
September 26, 2024

Hello @Todd Winton 

Thank you for that additional information.

By using the Branch "For Parent" you are changing the focus of the rule to the Parent issue of the trigger issue. In this case that is COB-64500. Unless the rule is refocused again with the branch, the action in the branch will be against that issue.

In your branch I see you have a condition for Structure_Hierarchy. Do I understand correctly that you want that condition applied to the "sibling" issues of the trigger issue?

If I have understood correctly then I recommend that you change the "For Parent" branch to "For JQL" and use a JQL to select the "siblings" you want to affect:

parent={{triggerIssue.parent.key}} and Structure_Hierarchy=71

You can also eliminate the Condition within the branch when you use the above JQL.

Like # people like this
Todd Winton
Contributor
October 1, 2024

That worked! Thank you @Trudy Claspill 

Like Trudy Claspill likes this
2 votes
Josh Costella
Community Champion
September 19, 2024

Hi @Todd Winton 

Check out the recipe here: https://www.atlassian.com/software/jira/automation-template-library/sync-work

You should be able to structure yours in a similar way to get the desired result. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events