It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prevent a value from being selected

I am trying to prohibit the transition if the selected value "To Be Classified" is selected by the user from a select list field. What are my options to add such validation?.. Sorry I am new to JIRA. 

2 answers

I guess you can utilize this addon: or create your own simple validator.

Also you can try this free addon It has custom validator that can check value against regular expression: but I never tried it.

Thanks V. However, I already have these plugins installed on instance but are useless for what I am trying to achieve. How about JIRA Scriptrunner plugin? Do you have any knowledge about it?

With a simple scripted validator, which I presume is what you are asking about although your question is not very clear, something like:

cfValues['Name of field']?.value != "To be classified"

Thanks Jamie.. So using the groovy script runner I should be able to add this validation?

y, with workflow -> validators, "simple scripted validator"

Hi Jamie, I got the script runner plugin installed and inputted the above simple script validator that you gave. The validator kicks off at the transition. However, it wont like be pass through the transition even if I select other values besides "To be classified".

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Off-topic

Friday Fun: Virtual dance party!

Do dance parties help you relieve stress? How about *virtual dance parties*? My team holds virtual dance parties to brighten the mood of a tough day or celebrate an upcoming weekend.  Want t...

150 views 21 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you