-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
4.5.0, 4.11.0, 4.5.6
-
2
-
Severity 3 - Minor
-
1
-
Issue Summary
When creating an automation rule to send a Webhook with a custom payload with the variable ${event.user.name}, the variable is not interpolated with any value and is sent empty.
-
This bug was reported in Community Questions, at the following question: https://community.atlassian.com/t5/Jira-Service-Desk-questions/Automation-webhook-custom-payload-variables-missing/qaq-p/1408516
Steps to Reproduce
- Create a custom automation rule, with:
- WHEN: "Issue resolution changed";
- THEN: "Webhook";
- Configure the webhook with a test URL;
- Select "Send custom payload" as body type;
- Add the following to the payload textarea:
{ "user" : "${event.user.name}" } - Confirm;
- Before saving the new rule, click in the "Options" link in the upper-right corner, and select "Run as the user who triggered the rule";
- Save the new rule;
- Add the webhook test URL to the Whitelist (http://PATH_TO_JIRA/plugins/servlet/whitelist);
- Trigger the automation rule by resolving an issue.
Expected Results
The webhook should be called with a value like:
{ "user": "my_user_name" }
Actual Results
The webhook is called without a value for the user:
{
"user": ""
}
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- links to
- mentioned in
-
Page Failed to load
Kind reminder, any updates for the workaround or ETA for the solution?
Many thanks!