Difference between condition and validition

Differnce between condition and validation 


Conditions are checks that are done on the current issue status, that will decide whether a workflow transition is shown or not. For example:

  • is this current user a member of the role that is allowed to execute this transition?
  • is the value of a custom field permits me to execute a transition?

Validations are checks that are done when you execute a workflow transition (usually checks are done when an associated screen is shown). For example:

  • have I entered all the required fields in the workflow transition screen?
  • have I updated a field in the workflow transition screen, which allows me to progress thru a transition?

In a slightly simpler terms, conditions are evaluated even before the issue is shown to the user to decide if a workflow transition is valid for the user. 

Validations happens once the workflow transition is triggered when the user submits on the workflow screen. 

With the conditions, the button does not appear until they are met.  With validators in the past if the field was required but is blank or something then a red asterisk appears next to the field which gives the user more feedback than the button not appearing.  If the field is not visible on the screen then what feedback is provided to the user? Anything useful?

We are running JIRA server v7.7.0.  A hybrid could also be used for validators of some things then conditions of others to hide the button until it is at least close to ready.  If more feedback is provided then I would be inclined to use validators more than hide the button so that the user is provided feedback.  Would at least help in troubleshooting advanced workflow checks when the user can't do something they want rather than them just saying they don't have the button.  The permission helper also isn't helpful with advanced workflow options when there are more options than just permissions.

Like 1 person likes this


Log in or Sign up to comment
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

701 views 1 15
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