Forums

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

I want to make a transition on EPIC depending on the status of all the issues under epic.

Tanu Ranjan Bharadwaj
Contributor
May 21, 2019

Hello Team,

Requirement:

I want to make a transition on EPIC ( from "In Progress" --> to "In Review") when the last issue under epic is on "Close" transition for getting Closed and rest all the other issues under epic are already closed.

I am trying to implement it through Post-Functions (Linked issues) by keeping status ( Closed ) in the Sibling box to check the status of the remaining issues. But it is not working for me.

Can you suggest any other way around for this or any script ?

Thanks in advance. 

2 answers

1 accepted

0 votes
Answer accepted
Leo
Community Champion
May 22, 2019

Hi @Tanu Ranjan Bharadwaj 

 

Your requirement can be achieved through "Linked Transition(JSU)" which is coming with JSU automation plugin

Steps to configure

1. Add this post function in Tasks/Story's Close transition

2.  You might see all the workflow transitions in 3rd step. need to choose the exact one to get it done

 

image.png

 

Regards,

Leo

Tanu Ranjan Bharadwaj
Contributor
May 22, 2019

Hello @Leo ,

Thanks for the information.

But currently I am using only JSU plugin not the Automation one, and I have tried in the same way as you did but the transition is not happening.

Is there any pre-requisites before making this transition ? Because when I tried the same kind of Post-Function for other transition, it was successful but nothing is happening in this one.

Thanks in advance.

 

Best Regards,

Tanu Ranjan Bharadwaj

Leo
Community Champion
May 22, 2019

Hi @Tanu Ranjan Bharadwaj

Yeah, you may need to check some parts. there are some places which will fail this post function

1. Do you use different workflows for Epic and it's stories? if so you need to configure this post function in Story's Close State transition

2. You have to choose the correct transition name with it's ID(if you are having more than one transition with same name, I would suggest you to consider the transition ID along with name)

3. If you have any validator(e.g updating any field value during this transition) in Epic's In Review transition the automatic transition will fail.(if so you have to remove that screen from this transition)

hope it'll give some idea on failures

 

Regards,

Leo

Tanu Ranjan Bharadwaj
Contributor
May 22, 2019

Hello @Leo ,

Yes you are totally correct. I am using 2 different workflows for Epic and Story issue types.

And also I am putting this post-function on Story's Close transition itself.

And yes in Epic on this transition ( In Progress to In Review ) there are two post-functions:

one is to clear assignee and other to copy a value from one field to another.

So, any inputs from your end that will it work now?

Thanks in advance.

BR,

Tanu Ranjan Bharadwaj

Leo
Community Champion
May 22, 2019

Hi @Tanu Ranjan Bharadwaj,

I don't think this will fail the function, it should work

but if you provide me the screen shot of your epic workflow transition details(with IDs) and post function configuration. can say something 

 

Regards,

Leo

Tanu Ranjan Bharadwaj
Contributor
May 22, 2019

Hello @Leo ,

I have found the problem. Actually, on the targeted transition in the EPIC workflow, there is this transition screen ( which was causing the problem ).

So, after removing that screen from the transition of the EPIC workflow, it worked as required.

Thank you so much for your support. Really appreciate it.

 

Best Regards,

Tanu Ranjan Bharadwaj

1 vote
Max Foerster - K15t
Community Champion
May 22, 2019

Hi Tanu,

which third-party app are you currently using in your workflows so we're able to provide specific instructions here. As we don't know how many different projects and workflows are involved this can turn out rather complex.

But in general, you could think of trying to trigger the transition of the linked Epic to "In Review" every time an issue with an Epic Link transitions to "Closed" with a conditional execution making sure that there are no other issues in a status different than "Closed".

On the Epic side make us of a simple validator to check the status of the issues in that Epic.

Best, Max

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events