🚀 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

Version 1 Next »

On this page


Futures used to implement the example



Example: Setting the priority depending on the product of custom fields

In this example, the priority of an issue should be set depending on the product of multiplying 2 custom fields.

For this, 3 custom fields are needed:

  • Impact (Number custom field)
  • Probability (Number custom field)
  • Rating (Calculated Number Field) for storing [Impact * Probability]


Depending on the outcome of the product, the priority should be set as the following:

RatingPriority
13-16Highest
9-12High
4-8Medium
1-3Low


The configuration of the Calculated Number Field "Rating" will look like this:

Text to be parsed is: {10417} * {10418}


Note that:

  • {10417} is field code for custom number field Impact (it may be different to your code)
  • {10418} is field code for custom number field Probability (it may be different to your code)



The configuration of post function Set a field as a function of other fields will look like this:

Text to be parsed is: 

[{10419} >= 1 AND {10419} <= 3]Low
[{10419} >= 4 AND {10419} <= 8]Medium
[{10419} >= 9 AND {10419} <= 12]High
[{10419} >= 13 AND {10419} <= 16]Highest


Note that:

  • {10419} is field code for calculated number field Rating (it may be different to your code)


After the configuration, the transition will look like this:




Other examples of that function