🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Example: Validate a custom field "Story Points" has been given a value in Fibonacci sequence

We are looking for a functionality that story point fields, which we request users to enter only 1, 2, 3, 5, 8,13, 21, 34 and 55 as story points. We need to enforce users to enter only these listed values, can we enforce this validation in workflows? When user enter other than above listed values, validation need to happen and the workflow transition should not be changed, then it need to throw error saying provided values are not supported.

You can do it easily using Boolean validator with math, date-time or text-string terms with the following configuration:


Boolean expression used is:

{13700} in [1, 2, 3, 5, 8, 13, 21, 34, 55]

Note that:

  • {13700} is code for numeric value of custom field "Story Points". This code depends on each particular Jira instance
  • Beware not to confuse with %{13700}, which is field code that returns a string value instead of a numeric value

Once configured, your transition will look like this:




Other examples of that function

Related Usage Examples