We have a Jira(In-Premise) integrated with Cloud Bitbucket to get the Bitbucket commit details on Jira.
We are trying to pro grammatically utilize the Jira API "http://jira.healthedge.net:8080/rest/dev-status/latest/issue/detail?issueId=334368&applicationType=bitbucket&dataType=repository" to fetch the commit details of specific Jira issues Id. But this API fails with timeout error for more number of commits, say 35 or more. We have increased the timeout to 6 minutes but observing same error.
So we are looking for an API (Jira/Bitbucket) which can be utilized to fetch the incremental commits, For Ex: - If total commits on ticket are 35 then i will fetch commits details for first 10 then next 10 and so on.