Objectives - 'lastUpdatedDate' Field Not Updating Correctly

XMLWordPrintable

      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

      1. Have an existing objective
      2. GET it via API and note down 'lastUpdatedDate'
      3. Use 'Aligned work items' section in the details panel to link Epics or Features, or even Risks etc
      4. DON'T click on save
      5. Check the Audit Log - new log entries are created for each of the above
      6. GET the objective via API again and see that 'lastUpdatedDate' did not update
      7. Perform an edit to other fields in the objective, for example, Description, and click Save
      8. 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.

            Assignee:
            Vishnuvardhan Vaidhyanathan (Inactive)
            Reporter:
            Victor Fragoso
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: