Forums

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

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
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events