Hi
I am trying to use automation when an issue is created, to set the assignee and edit another user picker field with values from 2 user picker fields in a linked issue.
I am creating 2 variables, setting the values to them in a linked issue branch, then coming back to the main line to assign and edit the created issue.
The assigning part works fine. But I can't get the edit of the other field working. The error I'm getting is invalid JSON.
I've tried a few different ways (the variable is called pm):
{
"fields": {
"customfield_16457": {{pm}}
},
}
{
"fields": {
"customfield_16457": {{pm.accountId.asJsonObject("id")}}
},
}
What should the JSON be when using a variable? Or is this a case where a variable will not work?
