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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira copy value of custom field



I'm kinda stuck, as this is the first time i use automation for jira with custom fields.


Basically i have a custom field called "CRM Company", the values of this field comes from a plugin called CRM for Jira and my problem is that i cannot find him in the list if i want to edit the field. Taking this in consideration, i have read that is possible to use the "More Options" from Automation to work with Custom Fields.


Now the flow goes like this: 

1) I create a epic, where i select a value for the custom field called CRM Company.

2) After this i create another ticket trough automation where i want to just copy the value of this CRM Company field to the next ticket.


I tried something like this: 

"fields": {
"customfield_10951": {{issue.customfield_10951.value}}


But still doesn't work, it gives me invalid json error... can somebody help me? How do i copy the value of a field in another ticket?



1 answer

0 votes
Olga Videc Community Leader Mar 09, 2021

Hello @Albert 

Just to check the second part is automatically triggered by the first issue creation?

You can set to copy the value from the trigger issue in your configuration? 

You tried running this code you have scriptrunner?

BR, Olga

@Olga Videc  this is done directly in the Automation for Jira.


Yes the second part is automatically triggered by the first issue creation. No i haven't tried the Scrip runner because it suppose to work from Automation for Jira plugin directly.

Hello Albert,

You don't need to script anything, you can copy it through automation.

Your second issue creation is triggered by issue created? 

Add edit issue choose "CRM Company" and choose "tree dots"

there you will find copy from - trigger issue.

I used deadline filed as example

Edit issue_1.PNGEdit issue_2.PNG

@Olga Videc it dosen't find me the field CRM Company, because i already tried that

Olga Videc Community Leader Mar 10, 2021

Hello Albert, 

I understand you need JSON to copy the filed value.

What type is your cf?

Also, here is a discussion about how to copy a field from trigger issue as JSON

BR, Olga

Like Himanshu Nanda likes this

Had the same issue - the link @Olga Videc mentioned seemed to have the answers, thank you!!! :)

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you