Until friday I could get info about my open issues through the REST API with:
curl -D- -u user:pwd -X POST -H "Content-Type: application/json" --data '{"jql":JQL-QUERY}' https://URL.atlassian.net/rest/api/2/search
But now with the exact same api request i get the following error:
HTTP/1.1 401 Unauthorized
What could happened?
Try this:
I was having the same issue because the API tools would hammer the API and cause a captcha lockout which is not visible via any API request. Logging in via ID will work fine because it bypasses JIRA's internal captcha requirement, so you will never be made aware of it.
Thanks! I change the password and now it is working again but will i have to change the password everytime this issue appear?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This will happen whenever you need to change the password and the automated services continue to hammer the API with the old password resulting in a lockout.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.