HI ,
We are making a callout to Jira from Salesforce to get the Jira key on our cases. And we are making a 2nd request to Jira if we have any sub task for that Jira key.
Let suppose we make a callout to Jira from our case creation time to get the Jira Key on our case object and then we are checking if any sub task or subkey associated with that jira key then we are making second request to Jira.
let suppose we have 10 sub task to that jira key then we are getting 4,5 success then we are getting status code 429 in response. We are doing this in lower environment on Jira. And on Jira prod we don't get this type of issue.
So do we have different callout limit on Jira for Prod or lower instance?
Endpoint url > JirabaseUrl+ '/rest/api/2/issue/' + sub_key
This is Jira Data Center, right? Couple of things to check:
Also you should look at https://confluence.atlassian.com/adminjiraserver/adjusting-your-code-for-rate-limiting-987143384.html and add some defensive coding against this problem. Jira sends back rate limit info in response headers with every call and you can just add a checkRateLimit() function or something.
Good luck!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.