Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating all users usernames Using REST API - Jira Data Center

Reab April 1, 2021

Hi, 

I would like to update all Jira users' usernames using bulk update through rest API. 

this documentation didn't work for us : https://confluence.atlassian.com/jirakb/how-to-bulk-update-users-email-addresses-in-jira-using-rest-api-948218723.html 

We keep getting 403 Error  with bulk update :  Basic Authentication Failure - Reason : AUTHENTICATION_DENIED 

and with single update Jira logs shows a severe error:  com.sun.jersey.spi.container.ContainerRequest.getEntity A message body reader for Java class com.atlassian.jira.rest.v2.issue.UserWriteBean, and Java type class com.atlassian.jira.rest.v2.issue.UserWriteBean, and MIME media type application/octet-stream was not found. The registered message body readers compatible with the MIME media type

 

However, I can Issue a GET request put not a PUT request.

How can I Update all users usernames using REST API 

 

 

 

Thanks

 

 

1 answer

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2021

@Reab 

 

Can you share the script/call that you use to test the modification?

 

Cheers

Kurt

Suggest an answer

Log in or Sign up to answer