Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-81512

Variable Substitution in webhooks URL isn't working for "Issue Link" related events

XMLWordPrintable

      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

      1. 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}
        • Issue related events
          • Issue: created, updated, deleted
          • Comment: created, updated, deleted
          • Issue Link: created, deleted
      2. 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

              Unassigned Unassigned
              0a4d3986ddf5 Marcelo Beloni (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: