Hi Service Desk Team,
The WHY
We try to automate some of our processes. Therefore it would be usefull for us to do a webhook with a custom payload after a service request got approved.
The expectations:
We would like to add Custom Field values also into the custom payload of the webhook.
Custom Field is called `firstname` and got the id 10300
We tried to add this to the payload via ${issue.firstname} or ${issue.customfiels_10300} , but it didn't work.
Steps to reproduce:
- WHEN: "Status changed"
- IF: ""Customer Request Type" = "New employee (ISD)" AND Approvals = approved() "
- THEN:
Add comment: "AUTOMATION issue matched webhook triggered"
Webhook: URL hhtp://someserver:8080 Body:
{
"description":"${issue.description}",
"key":"${issue.key}",
"eventuser":"${event.user.name}",
"summary":"${issue.summary}",
"firstname": "${issue.firstname}"
}
This resulted in this payload on the service that resived the request:
{
"description" => "asfasf",
"key" => "ISD-9",
"eventuser" => "",
"summary" => "My Summary",
"firstname" => "${issue.firstname}"
}
The question:
Is there a solution to add Custom Fields to a custom paylod of a automation webhook in Jira Service Desk Server Version?
Best Regards
Gerhard