Hi all,
I created a custom field called "Developer(s)" (type of field: User Picker (multiple user)) and I would like to automate an action when I make a transition to a particular state.
I would like to trigger an action to *set* to this custom field the name of the assignee. Is this possible? Ideally, even better, I would like to *add* to this custom field the name of the assignee if there is already another name (but it may be too much to ask...).
I tried many things like what is proposed in the following thread, but I cannot get it to work, maybe this does not apply to custom fields?
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Set-custom-user-field-from-assignee-using-smart-values-in/qaq-p/1877340
For example:
{
"fields": {
"engineer": { "id": "{{assignee.accountId}}" }
}
}
or:
{
"update": {
"Developer(s)": [{
"set": {{initiator.accountId.asJsonObject("id")}}
}]
}
}
Any ideas? 