-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 11.13.1
-
Component/s: Strategy - Objectives
-
1
-
Severity 3 - Minor
-
No
Issue Summary
The 'lastUpdatedDate' field for Objectives in the Jira Align system is not updating correctly, leading to discrepancies between the UI audit log and API output.
Steps to Reproduce
- Have an existing objective
- GET it via API and note down 'lastUpdatedDate'
- Use 'Aligned work items' section in the details panel to link Epics or Features, or even Risks etc
- DON'T click on save
- Check the Audit Log - new log entries are created for each of the above
- GET the objective via API again and see that 'lastUpdatedDate' did not update
- Perform an edit to other fields in the objective, for example, Description, and click Save
- GET the objective via API again and see that 'lastUpdatedDate' is updated
Expected Results
According to our tests, it's only logged into Jira Align after hitting the save button.
If the options on Aligned work items are dynamically saved (picking your item without hitting the save button), they should also populate the audit logs.
Actual Results
Aligned work items are not logging entries on the Audit log after picking an item
...
Workaround
It's possible to get the timestamp of the latest change by checking the Audit Logs via API. You can use this endpoint:
/rest/align/api/2/Objectives/{ObjectiveID}/auditlog?$top=1&$orderby=id desc
This will get the latest log with a time stamp for an objective.