Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-47275

User details can not update via rest api

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 7.0.2
    • REST API

    Description

      Hello,

      I am using JIRA rest api JIRA 7.0.2. In that trying to update user information by using below method(as per documentation-https://docs.atlassian.com/jira/REST/latest/#api/2/user-updateUser):
      http(s)://jiraEndpointUrl/rest/api/latest/user?username=User8
      passing below json:

      { "name": "IRISUser8", "emailAddress": "irisuser8@gmail.com", "displayName": "IRIS User8" }

      when I am calling with above details then it will return below error(json response) to me with status code=400.
      Json response(error):-
      {"errorMessages":["This user can not be renamed because that operation is unsupported by the underlying user directory or JIRA is acting as a Crowd Server."],"errors":{}}.

      So can anyone please let me know why it will give me an error for that and whats wrong in my API Code

      Thanks

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ca135a33554f Hiren Patel
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: