Hi there,
I want to write a specific user into a JDP field. Those are not available in the fields in automation and I must use JSON. I kinda hit a wall here.
My field is: customfield_10455
My guess is I need to use the accountID of the person (since I always use the same in my case): 60b00153cbc3aa0068de6e2c
My example started with this one, that worked for another need. However, I don't need to retreive the acccountID of the assignee, I need to push this one: 60b00153cbc3aa0068de6e2c
{
"fields": {
"customfield_10455":[{{triggerIssue.assignee.accountId.asJsonObject("accountId")}}]
}
}
Thank you for helping me.
Hi @Martin ,
Since People fields are not currently supported with automations at this time, the workaround you have above is probably the best way of achieving this use case (especially since the account ID is returned using the API, and not the user's email when reviewing the Assignee field).
I was able to test with your method as well - swapping my people-type custom field ID with yours - and it seemed to work well!
Hi @Nick Haller
Thank you for your answer.
Yes that technic works, but what I need, is to always inster a specific user. That's where I hit the wall.
Ex:
If the Idea type strategy is X
Then add the Sponsor Y in the customfield Z.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.