Enable transition button if workflow is using condition?

Hello community,

Need your assistance. Here's the simplified scenario:

Workflow: To Do >>> In Progress >>> Done
Sub-task blocking condition here: To Do >>> In Progress >>> Done (condition doesn't allow to transition issue from In Progress to Done when there're any open subtasks);

On a View issue screen I don't see transition button "Done" when there're any open sub-tasks. Users could be confused significantly. 

Is there a way to enable some sort of pop up which says: "Hey, in order to move this issue to done - please close all the sub-tasks"?

Or maybe just enable a transition button, but make it "inactive"?

Please assist. 

1 answer

1 accepted

1 votes

I'd use the "message field (for view)" from the Jira Toolkit to place some text on the screen.

Or remove the condition, but re-implement it as a validator, so the user starts the transition and then gets told why they can't proceed.

Thanks for the quick turnaround. This could work.

1. What validator to choose? https://image.prntscr.com/image/JtXxT8iCTgKMY2-T9RevWw.png

Not sure what do you mean.

2. Could you please elaborate more on "message field (for view)" from the Jira Toolkit? How to implement this solution?

Ah, you'll need a bit of code to do a validator to check the subtasks.  There might be one in the marketplace already though.

The Toolkit option -

Install the toolkit from "find new add-ons" (it's free)

Go to custom fields and add a new one, selecting "message for view"

Add it to the issue view screen(s) needed

Go back into the custom field configuration and add some text to the *default* value (not description!)

Thanks, Nic! That works for me.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

424 views 1 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot