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!
For a question like this, context is important for the community to help. Please post the following:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.