We are using jira REST api to get issues and then changelogs for all the issues. But since the last 10 days the response from the api have been inconsistent. We are facing the problem with changelogs. Some issues don't come with the changelogs even though it says that the number of changelogs for the issue is "x" number. And when we send a request to the api to get all the changelogs for the api as we have not received the changelogs for the issue we get error 401. Even though the same token works for getting all issues and most changelogs.
If you get 401 then your authentication is wrong. If it works on and off, then probably there's something else you're supplying in your request that is causing such behaviour. However, the best way to find out is to generate a new token and observe the behaviour of that token with the same API. About the changelog, as long as the data exist in the history, you should be able to extract it. If it is behaving differently than that, re-examine your code to make sure that you're sending the right request for extraction.
Our code has been working fine since months. And I tried changing the token but the problem didnt get solved. Running the same code with Basic authentication works fine.
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.