Notifying user that condition not met for transtion


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.



3 answers

1 accepted

1 vote
Accepted answer

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
Joseph 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.

1 vote
Peter Bengov Community Champion Jan 07, 2015

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,069 views 4 9
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