I'm currently working on a Team managed project that uses a form with conditional fields to add approvers under certain circumstances.
I have the form field linked to "Approvers" so anyone selected in the form field should be added as an approver.
This isn't adding the users to the "Approvals" section. I tried copying the "Approvers" to "Approvals" and I can't get the users to add.
I tried a bunch of different "Additional fields" JSON with no success.
- { "fields": { "customfield_10035": "{{#issue.customfield_10003}}{{accountId}}{{^last}},{{/last}}{{/issue.customfield_10003}}" } }
- { "fields": { "customfield_10035": { "id": "792", "name": "Urgency Approval", "finalDecision": "pending", "canAnswerApproval": false, "approvers": [ { "accountId": "{{issue.customfield_10003.accountId}}" } ] } } }
- { "fields": { "customfield_10035": "{{#issue.customfield_10003}}{{accountId}},{{/issue.customfield_10003}}" } }
I looked up the custom fields via XML and I see these:
