Forums

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

Automation rule to change the status of the parent issue when the child issue changes

Sameeksha Shetty August 22, 2024

Hi, 

Can anyone help me in how the status of the parent issue is changed by updating the child issue status.Can this be achieved only by automation rule?

The condition for my use case is :

  •  The parent issues must be in done status if all the child issues is in done status.
  • the parent issue must be in inprogress status if some of the child issues is in-progress
  • the parent issue should not be closed if there is a open child issues.

How can this be achieved by automation? 

1 answer

0 votes
Manoj Gangwar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2024

 

Hi @Sameeksha Shetty ,

Welcome to the Atlassian Community!

you can achieve the 1 & 2 by using the automation. 

For the 1st one, you can configure the automation like below:

2.PNG1.PNG

For 2nd, You can configure similar automation by changing the trigger, condition, and actions>

For 3rd, you can add workflow script runner condition 

issue.subtasks.every(subtask => subtask.resolution.name == 'Done')
Sameeksha Shetty August 23, 2024

Thanks @Manoj Gangwar 

This automation updates the parent issue but does not update the grandparent issue. How can we implement a nested branch condition that updates both the parent and grandparent issues? Specifically, if a subtask is marked as "Done," the parent story should also be updated to "Done," and the associated epic should likewise be updated to "Done."

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events