How to automatically set the value of a custom single select field based on the value of another

jgiraldo1 January 3, 2020

I am trying to set the value of a custom, single select, field in jira based on the value of another field as a post function. For this I am using  the "Set a field as a function of other fields" postfunction that I believe is part of the Jira Workflow Toolbox.

The Field to be checked for matching with type 1 setting rules is also a custom single select field that can take the values "Value 1", "Value 2", "Value 3", and "Value 4"
 
The Target field to be set can take values (again single select): "Target Value 1", "Target Value 2", "Target Value 3", and "Target Value 4"

For simplicity, lets assume that if the field to be checked have "Value 1" I want the target field to have "Target Value 1", and so on

In the setting rules section of the postfunction I have:

(Value 1)"Target Value 1"
(Value 2)"Target Value 2"
(Value 3)"Target Value 3"
(Value 4)"Target Value 4"

I've also tried with:
(Value 1)Target Value 1
(Value 2)Target Value 2
(Value 3)Target Value 3
(Value 4)Target Value 4

but neither seems to work. My guess is that since the Target Field is a single select field, I need to refer to the value of the field differently (not by the text).


1 answer

1 accepted

0 votes
Answer accepted
jgiraldo1 January 3, 2020

Never mind. Seems to work without the quotation marks. Sorry

Suggest an answer

Log in or Sign up to answer