Notifying user that condition not met for transtion

Ivar Anneljas January 7, 2015

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

4 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2015

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
Peter Bengov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 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.

SimonH April 24, 2020

The problem is that not all Conditions checks are also available as Validator checks.

1 vote
Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 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.

0 votes
SimonH April 24, 2020

I too would like this functionality.  Every condition I add is something that prevents the validation button from appearing with absolution no explanation why.  It leads to confusion and wasted time, and is poor design:  an IT system should help the user understand how it works, not baffle them.

The result of this poor design is that we end up not putting in Conditions for certain things, because it causes such confusion.  

Suggest an answer

Log in or Sign up to answer