Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-67894

Webhook Variables do not work for webhook event Link created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: High High
    • None
    • 7.11.1, 7.11.2
    • Webhooks

      Summary

      Project ID Variable does not work for webhook event Link created.,

      Steps to Reproduce

      1. Create a webhook for events 'Issue Updated' and 'Link Created'
      2. Make sure you append variable (Eg: project id) to the URL
      3. Fire webhook for both events
      4. 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.

              Unassigned Unassigned
              mriza Mohamed Riza (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: