jira-node / node-jira-client

A Node.js wrapper for the Jira REST API
https://jira-node.github.io/
MIT License
449 stars 168 forks source link

Add headers and status code with rejection + wait and retry once when limit is reached #364

Open nazarethk opened 10 months ago

nazarethk commented 10 months ago

retry-after is used when Jira throws an exception with error code 429. As described in Jira documentation, the Retry-After indicates how many seconds the app must wait before reissuing the request.