Skip to end of banner
Go to start of banner

Epic/Initiative Status Automation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Setting up automation rules to keep a parent issue's status updated based on the status category of its child issues in Jira is a powerful way to maintain project organization and ensure that the overarching status reflects the progress of its components.

Use cases cover most scenarios where a parent's status might need to be updated:

  • When a child issue is added to a parent issue

  • When a child issue transitions between status categories

  • When a child issue is removed from a parent issue

đźź© When an new issue is created and added to Initiative/Epic

An issue is created and a parent field is populated relating it to an Epic or Initative, this rule will run to check the status of the newly created issue, along with the statuses of the other child issues and update the status of the parent issue status accordingly.

 Automation rule details

Update Parent Epic/Initiative status when child issue added

Trigger

Issue Created

image-20240322-172438.png

Conditions 1

Issue is not a sub-task - we are excluding these as parents would be Stories/Bugs etc.

Parent is not empty - this issue is related to an Initiative or Epic

Statuscategory = “In Progress” - issue is in an “In Progress” status category

image-20240322-174524.png

Branch 1 to the Parent

Parent Condition - Parent statuscategory != “In Progress”

Parent Action - Transition to “In Progress”

image-20240322-174759.png

Conditions 2

Parent is not empty - this issue is related to an Initiative or Epic

Statuscategory = “To Do” - issue is in a “To Do status category

image-20240322-172623.png

Branch 2 to the Parent

Parent Condition 1 - Parent statuscategory != "To Do"

Parent Condition 2 - ALL children’s statuscategory != “In Progress” - there are no child issues “In Progress” status category

Parent Action - Transition to “To Do”

image-20240322-172647.png

đźź© When an child issue is transitioned to To Do status category

When an issues that is related to an Initiative or Epic and it is transitioned to a “To Do” status category, this rule will run to check the status of the transitioned issue along with the statuses of the other child issues and update the status of the parent issue accordingly.

 Automation rule details

Set parent status to To Do when ALL children are in To Do status category

Trigger:

Issue Transitioned

image-20240322-173443.png

Conditions:

Issue is not a sub-task - we are excluding these as parents would be Stories/Bugs etc.

Parent is not empty - this issue is related to an Initiative or Epic

Statuscategory = “To Do” - issue is in a “To Do” status category

image-20240322-173558.png

Branch to the Parent

Parent Condition 1 - Parent statuscategory != "To Do"

Parent Condition 2 - ALL children’s statuscategory = “To Do” - all child issues are in “To Do” status category

Parent Action - Transition to “To Do”

image-20240322-174035.png

đźź© When an child issue is transitioned to In Progress status category

When an issues that is related to an Initiative or Epic and it is transitioned to a “In Progress” status category, this rule will run to check the status of the transitioned issue and update the status of the parent issue accordingly. We don’t check the other child issues because the trigger issue being transitioned to “In Progress” would meets to requirements for the parent issue to be “In Progress.”

 Automation rule details

Set parent status to In Progress when any children are In Progress status category

Trigger:

Issue Transitioned

image-20240322-173443.png

Conditions:

Issue is not a sub-task - we are excluding these as parents would be Stories/Bugs etc.

Parent is not empty - this issue is related to an Initiative or Epic

Statuscategory = “In Progress” - issue is in an “In Progress” status category

image-20240322-175318.png

Branch to the Parent

Parent Condition 1 - Parent statuscategory != "To Do"

Parent Condition Note - We don’t check other child issues because if one child issue is “In Progress” parent issue should reflect “In Progress”

Parent Action - Transition to “To Do”

image-20240322-175401.png

đźź© When an child issue is transitioned to Done status category

When an issues that is related to an Initiative or Epic and it is transitioned to a “Done” status category, this rule will run to check the status of the transitioned issue along with the statuses of the other child issues and update the status of the parent issue accordingly, unless the parent issue is On Hold. If so, it will remain On Hold.

 Automation rule details

Trigger:

Issue Transitioned

image-20240322-173443.png

Conditions:

Issue is not a sub-task - we are excluding these as parents would be Stories/Bugs etc.

Parent is not empty - this issue is related to an Initiative or Epic

Statuscategory = “Done” - issue is in an “Done” status category

image-20240322-180120.png

Branch to the Parent

Parent Condition 1 - Parent statuscategory != "Done" and status != “On Hold” - we don’t update the status if the Epic/Initiative is On Hold

Parent Condition 2- ALL children’s statuscategory = “Done” - all child issues are in “Done” status category

Parent Action - Transition to “Done”

image-20240322-181315.png

đźź© When an child issue is removed from a parent issue

When a child issue is removed from a parent issue, the rule will check the status of other child issues and update the parent accordingly.

 Automation rule details

Details to come.

  • No labels