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

How do I copy the value of an issue picker custom field to an issue to be created with Automation fo

Marco Brundel
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.
November 17, 2020

How do I copy the value of an issue picker custom field to an issue to be created with Automation for Jira?

 

When transitioning an issue, I want to create an issue with an Automation for Jira rule. I also want to copy the value of an issue picker custom field from the trigger issue to the issue to be created.

How do I do this?

I've tried with 

 "customfield_14700": [{
"add": "{{triggerissue.customfield_14700.key}}"

but this is not working

1 answer

1 accepted

0 votes
Answer accepted
Holger Rösch November 17, 2020

Hi Marco,

I probably would use a variable to store the value of the picker, create the new issue and add the value of the variable.

Create variable e.g. "PickerValue" using this Smart value

{{issue.fields.customfield_14700.value}}

then create the new issue

and

edit issue field and add your variable there

{{PickerValue}}

Hope that helps,

Holger 

Marco Brundel
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.
November 23, 2020

@Holger Rösch , thanks. it works with a so-called intermediate field.

Dungle March 30, 2023

@Marco Brundel Dear 

I'v got the same that your problems.

Did Your function worked?

Can You give me full code? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events