Forums

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

Help with Json formating in automation

Amy Schindel
Contributor
August 19, 2025

I'm very new to Json.  I'm creating an automation and would like it to copy data from fields in one project to different fields in a different project. My automation works fine, except I'm getting a syntax error on my JSON. 

{
"fields": {
"Description": "{{triggerIssue.data load description }}"}},
"Original description[Paragraph]": "{{triggerIssue.description }}"
}
}

I need the field "data load description" (custom field) to be updated with what is in the field "description" (standard description field)  and then ALSO update the field "Original description" (custom field)  with what is in "description" (standard description field)

One source suggested using the custom field ID.  When I look that up for my field "Original description" it shows what I have above, "Original description[Paragraph]", and not a number like I have seen in other places.  But ""Original description" also doesn't work.

Thanks in advance for any help!

1 answer

0 votes
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.
August 19, 2025

Hi @Amy Schindel 

For a question like this, context is important for the community to help.  Please post the following:

  • what type of project is this: company-managed, team-managed, JPD, etc.
  • an image of your complete automation rule in a single image for continuity
  • images of any relevant actions / conditions / branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected and why you believe that to be the case

Until we see those...

For the expression you show, there are extra spaces after the field names and before the double-curly brackets which may be causing errors.

 

And...smart values are name, spacing and case-sensitive.  Have you confirmed you have the correct smart values (or custom field IDs) for the fields?  This how-to article helps to confirm the correct ones:

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

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events