Automation

Banti June 10, 2024

Hi,

I want to create an automation where the status of a parent issue (Initiative) transitions automatically based on the status of its child issues (Epics). Specifically, the Initiative status should change in response to the statuses of the Epics it contains.

when child epic transition to “Execution” parent status will be “Done”.

We have multiple Childs under the parent

Thank you.

1 answer

1 accepted

1 vote
Answer accepted
Stevan Mandić
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.
June 10, 2024

@Banti 

Do you want to make a transition of a parent when any of the child issues move to Execution status or when all children reach Execution status?

Banti June 10, 2024

All the child issues.

Stevan Mandić
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.
June 10, 2024

1. trigger: issue transitioned - to Execution

2. Condition: issuetype equals epic

3. branch rule: related issue: for Parent

3.1 condition: related issues condition: Children all match JQL: status= execution

3.2.action: transition issue: to Done

 

* if your Epic workflow have one or more statuses after Execution (e.g. Status A, Status B) then you should modify JQL in step 3.1 as following:

status in (Execution, "Status A", "Status B")

  • in order to cover the scenario that epics are at least in Execution status
Banti June 12, 2024

Getting the following error:

IMG_7816.jpeg

Stevan Mandić
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.
June 12, 2024

@Banti what is the workflow of your initiative?

When automation is triggered, is the initiative Tp1-437 in a status that can be transitioned to Done (according to your workflow)?

Banti June 12, 2024

image.jpg

Stevan Mandić
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.
June 12, 2024

@Banti according to your automation, only one status : "Retro Review" has transition to Done.

When automation  is triggered if current Initiative status is not Retro Review, the automation will not execute.

1. You can modify automation step 3.2 to: action- transition from "Retro Review to "Done"

Or

2. You can edit your workflow in a way that more then one status can make transition to Done.

Or

3. You can set any  status status can make transition to done. (DONE-all)

Also, I suggest you not to use Scrum Events as statuses. I suppose that Retro Review means retrospective & and sprint review and that should not be the part of the workflow.

Maybe you should think out how to optimize and align better your workflows for Epic and Initiative.

Banti June 13, 2024

Sure, Thank you so much

Suggest an answer

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

Atlassian Community Events