Forums

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

How to automatically change the status of an epic regarding the status of some issues inside

Benjamin Lellouche November 24, 2022

Hi all!
When an epic is created, I set up an automation that create some various issues inside this epic.

What I want to do: when some specifics tasks are "Done" I want the Epic to go to the next status of his specific workflow.

2 answers

1 accepted

0 votes
Answer accepted
Benjamin Lellouche November 24, 2022

Here is my work around:

1. add a linked (related to) between those 3 tasks (add the command on the automation build for the creation of those tasks)

2. on the automation for the transition of the epic, add a condition "Linked issues match = Types: related to Match: status = resolved

 

Seems to work...

0 votes
Jack Brickey
Community Champion
November 24, 2022

Hi @Benjamin Lellouche ,

have you attempted the new rule yet? If not please provide the details around "when some specifics tasks are "Done"...". Basically your rule will look something like this...

trigger - issue transitioned

condition - type = task

condition - epic link = xxxx

condition - status = done

condition - ??? Something that identifies the "specific tasks"

branch - for parent

action - transition to xxxxx status

 

now, you may not need all of the above conditions. You simply need to ensure that only the specific tasks transitioning to done result in the Epic transitioning.

Benjamin Lellouche November 24, 2022

Thank you for your answer.
please find some more detailled information:

In my epic I have some differents type of tasks. 

Let's call them task_type1; task_type2; task_type3; task_type4

My point is that I want my epic to go from status1 to status2 when task_type1; task_type2; task_type3 are statuscategory = done

Jack Brickey
Community Champion
November 24, 2022

Ok should be pretty straight forward I think. Can you give the rule a try based upon my previous guidance?

Like Bill Sheboy likes this
Benjamin Lellouche November 24, 2022

Yes I already tried it, but I am not sure what to wrote for the condition "type = task" because I have multiple type of task.

If I put condition "is one of", it won't goes well.

My objectif is:

when the task_type1 AND task_type2 AND task_type3 are resolved, change Epic status to xxx

Benjamin Lellouche November 24, 2022

@Jack Brickey  Here is my current rule:

 

Capture d’écran 2022-11-24 175258.png

The result is: as soon as one of the issue "admin task" or "vm setup" or "kick off" is set as resolved, the epic goes to Status "Getting Access", instead of waiting that all of the 3 task are set as "Resolved"

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.
November 24, 2022

Hi @Benjamin Lellouche 

If you have already written and tried the suggested rule, and it does not work as you expected...

Please post images of the complete rule, showing details of the components, and an image of the audit log details showing the rule execution.  That information will help the community to offer suggestions.  Thanks!

Kind regards,
Bill

Benjamin Lellouche November 24, 2022

No idea...😔?

Jack Brickey
Community Champion
November 24, 2022

@Benjamin Lellouche ,

so I misunderstood your goal based upon the initial post. In your last reply, it seems that you wish to close the epic once all stories are closed under that epic there is actually a rule in the library that is very close to what you need. It looks like below. You will need to add in your unique components.

 

C4EA3A79-8BDA-4502-8EB8-E75242F229B8.jpeg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events