In this example, the priority of an issue should be set depending on the result of multiplying two custom fields.
For this, three custom fields are needed:
Depending on the outcome of the multiplication, the priority should be set as the following:
Rating | Priority |
---|---|
13-16 | Highest |
9-12 | High |
4-8 | Medium |
1-3 | Low |
The configuration of the Calculated Number Field "Rating" will look like this:
Text to be parsed is: {10417} * {10418}
Note that:
For this we need the post function Set a field as a function of other fields. The configuration looks like the following:
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:
Once configured, the transition will look like this: