Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation rule to automatically set a value on a custom field based on other custom field value.

Samuel Prathipaty
Contributor
October 18, 2021

We have two custom fields(Single list(single choice)). Let say X and Y

Custom field X has 20(1-20) values and Custom field Y has 3(A,B,C) values.

For a issue, if the X value is btw 1-6 then Y should be A.
if the X value is btw 7-13 then Y should be B.
if the X value is btw 14-20 then Y should be C.

We need to set the Y value based on X value. How to achieve this using automation rule?





1 answer

1 vote
John Funk
Community Champion
October 18, 2021

Hi Samuel,

Have you started a rule at all yet? If so, please share that. 

Otherwise, start with a trigger for Field Value Changed. Then select custom field X.

Then add a Condition for If/Else block

For the first IF, use JQL with 

"Custom Field" <= 6

Then add a New Action for Edit Issue. Select custom field Y and put the value of A.

Continue to add two more IF statements and two more actions. 

Suggest an answer

Log in or Sign up to answer