The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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 Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Holger Rösch
Contributor
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 Champions.
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? 

TAGS
AUG Leaders

Atlassian Community Events