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

Updating a user via API using PUT or PATCH removes the profile picture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 10.99.0
    • 10.97.0, 10.97.2
    • REST API
    • 3
    • Severity 3 - Minor
    • No

    Description

      Issue Summary

      When updating a user using API, the profile picture of this user gets removed.
      This does not affect the UI administration, where the picture remains, only the API

      Steps to Reproduce

      1. Select a user to alter details
      2. Impersonate this user and add a profile picture
      3. Via API, update this user ID (any field) via PATCH or PUT
      4. Refresh the impersonated page
      5. Notice the profile picture is removed

      These steps apply when impersonating a user or login as this user as well

      Expected Results

      Profile picture should remain when updating a user

      Actual Results

      Profile picture is dropped when updating the user via API

      Also when this issue occurs, if the user applies a new profile picture, the updated picture will not display outside the user's view ( cannot see the new picture in admin, but will display when the user logs in to his account)

      Workaround

      Currently, updating users via the UI is not affected

      Attachments

        Issue Links

          Activity

            People

              kforeman@atlassian.com Kyle Foreman
              0ed961e27eb4 Erwann (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync