Jira REST api intermittently returns 403 errors

Bill Rowell May 22, 2020

I've been trying to figure out this problem for a while now. I have a tomcat app which retrieves a small-ish number of tickets (~300) using the REST api. It always works when I test it from my browser using the dedicated user we set up to do the queries. But when I run the tomcat app it stops working after the first couple of retrievals and starts returning 403 errors. Can't figure out why. Sometimes after I change the jira user pwd it will start working briefly and then go back to throwing 403 errors. Any ideas appreciated. 

1 answer

0 votes
Tiago Machado
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.
May 24, 2020

Hi @Bill

Different REST API requests could lead to different 403 root causes...

 

Which API calls does your app use from which version ? (e.g.: /rest/api/2/search?jql=xxx )

 

Regards,

Bill Rowell May 26, 2020

/rest/api/2/search?jql=project=OPS+and+status!=closed&maxResults=300&fields=summary,assignee,customfield_10100,created

 

thanks!

Suggest an answer

Log in or Sign up to answer