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

Archived flag is incorrect in Webhook for Version Updated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.13.9, 8.8.0, 8.7.1
    • Webhooks
    • None

    Description

      Issue Summary

      Archived flag is incorrect in Webhook for Version Updated

      Steps to Reproduce

      1. Setup a webhook on 'Project related events' > 'Version' > 'Updated'.
      2. Go to Project settings > Versions, and archive the version.

      Expected Results

      The webhook shows the information of the version, including the archived flag as "true".

      Actual Results

      The webhook shows the information of the version, including the archived flag as "false",

      When archiving:

      "root":
      "timestamp": 1588575949950
      "webhookEvent": "jira:version_updated"
      "version":
      "self": "http://localhost:8080/rest/api/2/version/10002"
      "id": "10002"
      "name": "Version 3.0"
      "archived": false
      "released": false
      "overdue": false
      "projectId": 10000

      It seems the information is retrieved from before the change was made, as unarchiving a version will trigger the webhook and the flag archived will be "true" this time:

      When unarchiving:

      "root":
      "timestamp": 1588576776765
      "webhookEvent": "jira:version_updated"
      "version":
      "self": "http://localhost:8080/rest/api/2/version/10002"
      "id": "10002"
      "name": "Version 3.0"
      "archived": true
      "released": false
      "overdue": false
      "projectId": 10000

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Activity

          People

            Unassigned Unassigned
            rchiquete Rene C. [Atlassian Cloud Support]
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: