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

Transition doesn't trigger webhook if JQL contains 'updated after' with relative time

    XMLWordPrintable

Details

    Description

      Summary

      If we create a webhook for the issue updated event with a JQL with 'changed after' and a relative time the event is not triggered on transitions that change the status. Example of JQL:

      project = TP AND status changed AFTER -2m
      

      If we run the transition again, within 2 minutes, the webhook is fired, because, it seems, because it's able to see that the status in the previous transition.

      Steps to Reproduce

      1. Create a webhook for 'issue updated' and with this JQL: project = TP AND status changed AFTER -2m
      2. In the TP project, select (or create) an issue whose status hasn't been changed in the last 2 minutes
      3. Trigger a transition that changes status
      4. Within the next 2 minutes: try again

      Expected Results

      The webhook is triggered in both steps 2 and 4.

      Actual Results

      Only second webhook in step 4 is triggered.

      Workaround

      No workaround

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsilveira Jaime S
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: