I have a customer that wants to set the approver's field with an insight attribute using Automation.
For example:
Application has an attribute of Approval Group in Asset schema 1.
The Approval Group attribute is an object type in Asset Schema 2.
The Approval Group has an attribute of Members
Members attribute is an object type of Employees in Asset Schema 2 and lists the Jira Users that would need to be added to the Approver's field for an approval step in the workflow.
I have tried to use:
For each: Smart Value
Then: Add value to the audit log:
Apps: {{App}}
And Edit Issue Fields: (advanced)
{
"fields": {
"customfield_12345": [
{{#App.Approval Group.Members}}{"accountId": "{{Atlassian Account}}"{{^last}},{{/}}}
{{/}}]
}
}
The log shows: Apps: LOOKUP-111756
I am getting an error - Error while parsing additional fields. Not valid JSON.
Any ideas?
Hi @Beth Starr
The issue you are seeing is due to a bad JSON format. Would you please provide a screenshot of your automation so we can try to better assist you?
Regards,
Eugenio
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.