Summary
Project ID Variable does not work for webhook event Link created.,
Steps to Reproduce
- Create a webhook for events 'Issue Updated' and 'Link Created'
- Make sure you append variable (Eg: project id) to the URL
- Fire webhook for both events
- Check logs for posting on webhook
Expected Results
Posting URL has project id appended
Actual Results
Posting URL does not have project id appended
Workaround
As per, https://jira.atlassian.com/browse/JRASERVER-68086 it's possible to add some CSS to Jira's announcement banner to make the variables clearer:
<style type="text/css">
.webhooks .variable-intersection { font-weight: bold; color: #36B37E !important; }
.webhooks .variable-some { font-weight: bold; color: #FFAB00 !important; }
</style>
Please ensure you test this change in a test environment first, before applying to production. If you see unusual behaviour in pages after applying this fix, you may need to remove the adjustments - we also have steps to remove the announcement banner through the database.
- Testing discovered
-
JRASERVER-68086 As an Admin, the webhooks UI does not clearly show which variables I can use within a URL
- Gathering Interest
-
JRASERVER-68087 As an Admin, I'd like for webhook events to more consistently provide variables in the URL so I can ensure my webhooks work consistently
- Gathering Interest