In a transition, how can I validate the value of a custom field?

In a transition, how can I validate the value of a custom field?

Is there a way to do such a thing? For example, I have a field defined with group picker called "queue".

In a particular transition, I'd like to check if the value specified is either A or B and throw an error if the value is neither.

1 answer

1 accepted

Accepted Answer
1 vote

You add "validators" to the transition (similar to conditions and post-functions). See the manual pages at http://confluence.atlassian.com/display/JIRA/Configuring+Workflow

However, I don't know what validators are installed in OnDemand instances, you may find they are too limited to do what you need here.

Thanks. Okay so it is the "validator" that I need to use, and I think the set of validators available in the onDemand version are not enough for my purpose. I'll check out if I can use other plugins in the onDemand environment.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,487 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you