-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
1
-
Severity 2 - Major
-
Summary
When a webhook with Variable Substitution is configured, the variable substitution doesn't work when Issue Link events are fired. It works fine when issue related or comments related events are fired.
Here is the current documentation:
Steps to Reproduce
- Create a webhook as follows
- Webhooks URL: append any variable substitution to a valid URL
- In my case, I used webhook.site with the issue.id variable
https://webhook.site/f2fe8e22-f171-412f-9250-22e0610a89b6/ID=${issue.id}
- In my case, I used webhook.site with the issue.id variable
- Issue related events
- Issue: created, updated, deleted
- Comment: created, updated, deleted
- Issue Link: created, deleted
- Webhooks URL: append any variable substitution to a valid URL
- Create an issue link, which will trigger the webhook.
Expected Results
- The webhooks will include the variable when posting it.
Actual Results
- The webhook doesn't include any variable for this event.
Notes
- It works fine when updating the issue or commenting on an issue.
Workaround
- Currently, there is no known workaround for this behavior within the global webhook. However, it is possible to configure an automation rule to send the information with the send web request action, as described in this article: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828
- relates to
-
JRACLOUD-81520 update jira cloud webhooks documentation - variable substitution
- Closed