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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

13,154 views 15 13
Join discussion

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