We have a multi picker user field called Stakeholders. After an individual transitions a ticket through the workflow, we would like them added to the stakeholder list. We use Jira Cloud. I have tried multiple ways with using the assignee or the initiator to custom field. I tried with both post functions and automation and have been unable to be successful. My last attempt was the following in Jira automation:
When issue transitioned:
Edit Issue fields
Stakeholders
{
"fields": {
"Stakeholders": [{
"add": "{{assignee.accountId.asJsonObjectArray("id")}}"
}]
}
}
This says it is successful but the field is still empty. Any help?