Notifying user that condition not met for transtion

Hi! 

Is there anyone out there who knows a simple solution for the following. 

Main issue has subtasks, if conditions are not met(sub-tasks have to be closed) transition button is not displayed. 

What we would like to achieve is to have the button visible, but if users clicks on it a error message is displayed with a notification that they need to close/complete sub-tasks before transiting to next status.

 smile 

Ivar

3 answers

1 accepted

1 vote

You can write a workflow validator plugin to check for open subtasks. A validator shows the worklfow button but throws the error if the validation fails. Looks like that is what you are after!

1 vote
Joe Pitt Community Champion Jan 07, 2015

You're looking at modifying the basic JIRA code. The absence of the transaction tells the users the conditions aren't met. They would have to look at the issue to see the button and get the error. This is a training issue. Trying to fix it with a code hack will only bring you grief in the long run.

Hey Ivar,

if we try to simplify this then look at issues a bit differently: Conditions are there to prevent clutter and non relevant transitions. 

If you want to display a message of missing component/fields/sub-tasks then this should be done as a validator, which comes with this ability on notifying users.

I know this might sound a bit strange, but this is a preferred solution to your problem.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,315 views 14 20
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
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