Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error setting a password through REST Edited

I am getting a 404 when trying to set a user's password.

Here is my curl running from a Mac:

curl -i -X PUT -H "Authorization: Basic (email:api-key | base64 hash)" -H "Content-Type: application/json" -d '{"passord": "<newPassword>"}' "https://<mySite>.atlassian.net/rest/api/latest/user/password?username=<userName>&key=<userName>"

I have followed this older post, but no luck: https://community.atlassian.com/t5/Jira-Core-questions/Error-changing-user-password-through-REST/qaq-p/160982

I cannot find documentation on password changes:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/
https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/

Was this functionality removed?

1 answer

0 votes
Dario B Atlassian Team Jun 28, 2019

Hi @David Fitzjarrell ,

In Jira Cloud the users are not managed by Jira anymore but by the Identity platform and therefore there is no Jira REST API endpoint to set/change a user password anymore. This used to exist before and that's why you still find references to it on the Internet. 

For further details you can see:

 

We do have the below Feature Request open in our system to have this functionality back, but since it got very few votes in couple of years there are chances it won't be taken into consideration, at least not in the short term:

 

You may want to vote for it and add yourself as a watcher so that you will be notified by email in case of any update.

 

Finally, in case you have Atlassian Access, then you can manage the users passwords in your Identity provider and use the provided APIs:

 

I hope this helps.

 

Have a nice weekend,

Dario

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,934 views 11 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you