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

1 vote
Answer accepted
Daniel McCollum April 11, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events