How to check issues of a specific status with the same parent and move issues of that parent

Thies Uhlenbruch
Contributor
February 18, 2025

Hey,

I'm wondering how to check certain issues of a specific status within a same parent (epic) and if that is true move other issues of that parent (epic) to a specific status.

So my project setting is like this:

epic summary Munich 

 epic summary Bostonepic summary London...the summarys can be different and random!
task ANTtask ANTtask ANT...the summarys of the task are the same per epic!
task BNTtask BNTtask BNT ... 
task CNTtask CNT task CNT... 
.........  

In short I have a set of 12 tasks per epic which have the same summary.

As an exmple I want to check if 2 tasks (ANT/BNT) are done and have the same parent. Then use the task (CNT) of that parent and transition it to in progress. I guess that I have to do it as a batch trigger.

Would be great if some can point me in the right direction :-)

Cheers

Thies

2 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2025

Hi @Thies Uhlenbruch 

You could try using a Issue Transitioned trigger to "done", and then use Related Issues conditions to check if the parent Epic, and sibling Tasks, meet the conditions you need to perform the next steps.

I recommend trying to write your rule, testing it, and if you run into challenges, post images of the complete rule and audit log details to provide more context for the community to offer help.

Kind regards,
Bill

0 votes
Thies Uhlenbruch
Contributor
February 19, 2025

I have tried to build a rule but it doesn't work so far. I can see in the audit that the related and closed issues of the same epic are found. But i can't go further with my conditions to check if those issues have the specific summaries. 

Additionally the trigger issue has also to be a matching ...

board_process_audit.png

board_process_rule.png

For a better understanding I show you the board:

The rule has to be go to the next step if all 4 issues are Done and have the save epic because the summaries of the tasks are the same in different epics. So in my rule I have to check the 4 summariesto identify the correct issues.

board_process.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

This scenario is essentially a special case of these rules in the templates for projects:

  • When all child issues are completed → then close parent
  • When parent is completed → then close all the child issues present

 

If you are only concerned about the three Tasks ANT, BNT, and CNT with the same Epic parent, the rule could specifically check those with conditions.  For example:

  • trigger: issue transitions to your desired status
  • condition: issue is a Task
  • related issue condition: issue has a parent
  • condition: Summary is one of ANT or BNT
  • related issue condition: with JQL, for the same parent as the trigger issue check if both the ANT and BNT are done(?) and CNT is not done(?)
  • branch on JQL: to get the CNT Task with the same parent as the trigger issue
    • action: transition the issue

 

Suggest an answer

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

Atlassian Community Events