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

[Automation] Child Transition

Amy Chang
Contributor
September 20, 2024

Hi Community, 

 

Can the child issue be automatically transited to the new status when all other child issues are completed?

 

For example:

  • Parent Issue:
    • Epic: Beta-123, In Progress
  • Child Issues
    • Task: Beta-124, Done
    • Task: Beta-125, Done
    • Task: Beta-126, --> Done
    • Request: Beta-127, WIP --> Review

In our issue set, we have 1 Request with the tickets from other issue types. When the last issue moves to Done status, the Request needs to move from WIP to Done.

I'm not sure if it is possible to make it. I attached the rule below:

Screenshot 2024-09-20 at 5.27.33 PM.png

 

Thank you

1 answer

1 accepted

0 votes
Answer accepted
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.
September 20, 2024

Hi @Amy Chang 

Yes, that is possible with a rule.

Rather than branching to the Parent to access the child issues, you could instead use the Related Issues condition to check the sibling "Task" issues.  If that condition passes, then branch to the "Request".

  • trigger: issue transitioned to Done or Closed
  • condition: check the issue type is one of Website, Video, ...
  • condition: check there is a parent
  • related issues condition with JQL
    • parent = {{triggerIssue.parent.key}} AND issueType != Request AND status NOT IN (Done, Closed)
    • condition would be no issues found
  • branch on JQL to reach the "Request" with
    • parent = {{triggerIssue.parent.key}} AND issueType = Request AND status NOT IN (Done, Closed)
      • action: transition the issue

Kind regards,
Bill

Amy Chang
Contributor
September 22, 2024 edited

Hi @Bill Sheboy ,

Thank you for your reply.

In the Related Issue Condition, I'm not sure which selection presents the "no issue found."

I'm not familiar with this part. Can you please guide me on this part? Thank you!

Screenshot 2024-09-23 at 11.37.00 AM.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.
September 23, 2024

Please try the Condition selection "None match specified JQL".

Like Walter Buggenhout likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events