Changelogs not received for some issues.

Asfandyar Abbasi March 21, 2023

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.

 

1 answer

0 votes
Prince Nyeche
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.
March 21, 2023

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.

Asfandyar Abbasi April 17, 2023

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events