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

How to prevent transition to done on Epic if it has open issues under it, using Jira automation?

Meital Adir February 7, 2021

Hi,

I would like to set a transition condition/validator using automation, if Epic is move to done status, check the linked issues in this epic and fail the transition if any of the linked issues are not "done". 

The same as "linked issues status validator". can I use Automation to create such rule?

I'm using Jira cloud

 

Thanks,

Meital

3 answers

0 votes
wwalser
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 9, 2021

Meital,

Just chiming in as a member of the Automation team. Agree with others here who have noted that Automation is not able to create a great user experience here because we can only hook into the action _after_ it's happened. I don't think this falls into a natural use-case for Automation for the moment. Workflows or perhaps a marketplace plugin feel like the way to go here.

Best,
Wes

0 votes
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2021

I agree with @Darryl Lee regarding "real time" is better than post assumed success.

That said, i helped a team set up automation at Story level to monitor for sub-tasks still open and just sent the "initiator" (the person who did the transition) an email.

automation 2021-02-09 123405.png

Meital Adir February 8, 2021

Thanks @Curt Holley 

0 votes
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2021

Yes. A former client implemented such a rule.

The trigger was the initial Transition. There was then an IF block to see if the linked issues were not Done, and if not, then it was transitioned BACK to the previous step.

I believe the rule also added a comment to explain why the transition was "rejected".

Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2021

Oh, I should note, while this will work, I'm not a fan.

While it's unfortunate that you'd have to pay for a third-party add-on to implement this as a Validator, I it's a much better user-experience to tell users that they cannot do something when they click Submit.

Letting the transition succeed and then notifying them afterward (by the comment) doesn't seem very user-friendly.

Like petre mierlutiu likes this
Meital Adir February 8, 2021

Thanks for your answer, I'll try that with comment when it's rejected. I agree it would be better to do that as workflow validator.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events