Forums

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

Automation for Jira copy of custom fields from Epic to story or subtask

Albert Manuel
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.
March 10, 2021

Hi,

 

I'm trying to copy the value of a field we setup in an epic to story's and subtasks from that epic. The problem is our custom field dosen't show up when we search for him so i tried to do it with the "More Options" like that:

 

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

The problem is, is not copying the value... can somebody help me here?

 

Thanks 

1 answer

0 votes
Hana Kučerová
Community Champion
March 10, 2021

Hi @Albert Manuel ,

which type has your custom field? Thank you!

Albert Manuel
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.
March 10, 2021

@Hana Kučerová  i have created this custom field with another plugin called CRM for JIra.

Here it is: crm-field.JPG

In automatin i cannot find him, si i need the json format to copy his value to other fields, everything i try, it says "Error while parsing additional fields. Not valid JSON."

 

Can you help?

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.
March 10, 2021

Hi @Albert Manuel 

Have you tried putting quotation marks around the smart value?  The field type and value may be leading to the invalid JSON error you note.

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

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer