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 vote
Accepted answer

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 Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

155 views 0 6
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