Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-3839

API: when an update is made to a User through the API, the audit logs shows changes not related to i

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.109.0
    • 10.102.2
    • REST API
    • 1
    • Severity 3 - Minor
    • No

      Issue Summary

      When running a PATCH for the user for a specific field, like the email, the Audit logs register a change to the start date (or even Teams), even though the data was not changed and it continues to appear on the UI:


      Steps to Reproduce

      1. Run a PATH (thru swagger or curl) with content similar to the below to a user that didn't have any change made via API:
        [
            {
                "op": "replace",
                "path": "email",
                "value": "newtest2@email.com"
            }
        ]
        
      2. Check the Audit logs of the user to see the changes on other fields

      Expected Results

      Only the change for the field on the PATCH would appear on the Audit Logs

      Actual Results

      Other changes not related appears on the Audit Logs

      Workaround

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

        1. user_1.png
          211 kB
          Diego Larangeira
        2. user_2.png
          152 kB
          Diego Larangeira

              njones3@atlassian.com Nathan Jones (Inactive)
              a8cff3407f0b Diego Larangeira
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: