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

WebHooks based on "issue link" updates do not respect the JQL filter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.6.9, 7.12.3, 7.13.9, 8.5.1, 8.13.4, 8.13.9, 8.20.7
    • Webhooks

    Description

      Problem Definition

      Webhooks are triggered for the worklog events regardless of the JQL specified

      How to replicate

      1. Navigate through Jira Administration > System > WebHooks and create a new one (+ Create a WebHook)
      2. Specify the project in the JQL such as {{project = "X", }}include "issue link" created / updated, and save it
      3. Access any issue from other projects rather than "Project X" and create an issue link to another issue rather than "Project X"
      4. The WebHook is triggered without respecting the JQL of step 2

      Notes

      This is not happening for other events such as "Issue: Created"

      Workaround

      Create a rule using the Automation for Jira plugin to fire the webhook whenever it matches the conditions:

      Example of Automation for Jira rule

       You can also Smart Values and Branch Rules to manipulate the linked issue information

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              emarghidan Eduard M
              Votes:
              23 Vote for this issue
              Watchers:
              34 Start watching this issue

              Dates

                Created:
                Updated: