Password Reset via JIRA 5.0 REST API

Mariselvam Lakshmanasamy April 23, 2015

I'm building a web application using JIRA REST API(in JIRA version 5.0.7). Is there any option to reset the password via JIRA REST API?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2015

Hi.

According to this documentation, this should do it:

/rest/api/2/myself/password

Using a PUT operation, you should be able to reset the password to something else.

I hope it was helpful.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

Mariselvam Lakshmanasamy April 23, 2015

Thanks Jaime! I'm using JIRA version 5.0.7. Is it possible to do? because it returns 404 error.

Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2015

Should be. Are you sure everything is correct? There are many details that may fail. Check if the username is correct. I advise using postman for testing: https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm?hl=en

Mariselvam Lakshmanasamy April 23, 2015

Thanks. I will check this and come up with the results.

Volodymyr Krupach
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 23, 2015

Looks like there is no /rest/api/2/myself/password in 5.0.7 :-( https://docs.atlassian.com/jira/REST/5.0.7/

Mariselvam Lakshmanasamy April 24, 2015

Yes, Is there any alternative workaround can be done?

Volodymyr Krupach
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 24, 2015

You can try to emulate JIRA "forgot password" pages.

TAGS
AUG Leaders

Atlassian Community Events