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

takeshi sasaki May 9, 2012

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

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 9, 2012

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.

takeshi sasaki May 9, 2012

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