Can I calculate numeric custom field value based on 2 single choice custom fields?

Aylin Kohls
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 28, 2017

Hi, I need to set a numeric custom field value based on the value of other 2 custom fields (Select List (single choice) types) that user set on screen.

For example, "xx" is the numeric custom field, and "s1" and "s2" are select list fields.

If user selects s1 = High and s2 = High then "xx" has to be 1

If user selects s1 = High and s2 = Medium then "xx" has to be 2

If user selects s1 = High and s2 = Low then "xx" has to be 4

If user selects s1 = Medium and s2 = High then "xx" has to be 3

An so on.

Is there a way of doing this using Abacus add on?

If not, do you know other way of doing it in Jira Cloud?

 

Thanks!

1 answer

0 votes
Mumo Systems May 11, 2017

Hi Aylin,

There is a way to do this. First, you will need to setup 4 numeric formulas setting the value of xx to 1 -4 respectively. 

Then, you need to setup an executions plan. In the execution plan, you can create if statements using JQL condition you mentioned above. 

Execution plan:

jql: s1 = High and S2 - High

then: execute formular 1. 

else  jql: s1 = Medium and S2 - High

then: execute formula 2

Suggest an answer

Log in or Sign up to answer