Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.13.9, 8.8.0, 8.7.1
-
None
-
7.13
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
Archived flag is incorrect in Webhook for Version Updated
Steps to Reproduce
- Setup a webhook on 'Project related events' > 'Version' > 'Updated'.
- 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