Jira-misc-workflow-ex – How to validate a custom field value on a transition

Steven Baynes April 21, 2022

Using Jira workflow extensions, how can I validate that a custom field has a particular value?

Example:

If Custom_Field1 = ‘Yes’, then allow the transition to occur, else don’t allow the transition.

1 answer

0 votes
Ed Gaile _Atlanta_ GA_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 21, 2022

If you are using JMWE, you can us the Scripted (Groovy) Validator and just define the custom field logic in the Groovy script section.

issue.getAsString("customfield_1234") == "Yes"

Steven Baynes April 22, 2022

Our Jira instance does not have Script Runner (Groovy) installed. So would your suggestion work? We have PowerScript (SIL) installed. Thanks!

Suggest an answer

Log in or Sign up to answer