The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use Regular Expression (regex) check validator to evaluate and block workflow transition

Daniel McCollum
April 11, 2024

To check and compare a single value for a radio or dropdown custom field against input (ex. "No") using regular expression check validator use "^text$".

Result will allow transition to successfully happen if input on custom field matches the text entered within regex in quotations above.

For example, use ^One$ to block a transition for a radio custom field with options "One", "Two" and "Three" where either "Two" or "Three" being selected would throw an error to user but "No" would allow the transition. 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Daniel McCollum
April 11, 2024

^text$ is the best result found to answer question.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events