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
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events