Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I want to copy a value from a custom select list into the fix version field using Jira automation

Troy Johnson July 17, 2023

I have a custom select list that has the same information in it as the releases that are available in the fix version field (I won't go into the details of why). I want to be able to set the fix version field based on the version that is selected from my custom select list field. I have not been able to find the correct smart value to use.

The select list field name is "Program Increment (PI)"

The following snippet shows how I'm trying to set the Fix Version using the selected value from the Program Increment (PI) field. When the automation is run, the Fix Version field is left empty.

automation.jpg

The question is, can it be done and if so how?

Thanks in advance,

Troy

2 answers

1 vote
Bill Sheboy
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.
July 17, 2023

Hi @Troy Johnson 

From the rule image you show, I expect the symptom you are seeing is the Fix Version is empty/null after the rule runs, correct?  If so...I wonder if your smart value for the custom field is incorrect.

Smart values are name, spacing, and case-sensitive.  To learn the correct smart value for your field, please use the how-to article below.  Essentially you identify an example issue with your field, call the REST API with a browser, and then search for your field to find the correct smart value.

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

0 votes
Evgeniy
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.
July 17, 2023

Hi, @Troy Johnson 

Just use version name, it will make it.

Made fast example, it will explain my idea.

Screenshot_34.jpgScreenshot_35.jpg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events