requestJira retry-after and x-ratelimit-reset

Hello! I’m trying to get "retry-after"header from my jiraRequest response, but always returns null even the status is 429 or 503.

I’m using jiraRequest from @forge/bridge and I’m trying to make a function to validate when there are a lot of requests.

Could you help me?

Hi @CamilaAraldi ,

Whilst this is not ideal, the Jira REST API does not always return the Retry-After or X-RateLimit-Reset headers.

Pseudo code is provided in the Jira rate limiting guide that shows how to deal with this.

Regards,
Dugald

2 Likes