Hi together,
i want to have the following automation to work:
When: Trigger
Then: Webhook (GET) on specific Jira User
And: Action -> Edit Issue
The Edit Issue part 1 Works and looks like this:
Approvers: {{webhookResponse.body.name}}
It successfuly edits the description of the issue and resolves the smartvalue into a name. So we successfuly get "Approvers: John Doe"
The Edit Issue Part 2 fails:
Here i want to have the same user, but into a User Picker Custom Field called "Approver".
This stays empty all the time. I think it is because the Name comes back with a space in between First and Last Name.
Any tips? Can i provide more information?
Thanks
Chris
HI @Christian
If you log the reply, what do you get? use log action to check what you get.
Seems the webhook response changed. We had this issue with an automation we used.
Use this as the body for the field:
{
"fields": {
"reporter": {{webhookResponse.body.accountId.asJsonObject("id")}}
}
}
That will get the name from the account ID.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.