Hey Folks,
My use case is to fetch all users associated with all projects and issues present in the Jira software.
Consider having the large data present in the Jira software
Here is the method I am using to fetch permissions for projects:
Fetching project permission is still not a time-consuming task, the real nightmare is to fetch permissions for issues.
I am using the below way to fetch issue permission:
This is how we fetch the users for issues and it looks simple in the first place. But the problem arrives when there are thousands of issues available in projects, the API calls, in that case, are at peak.
Assuming we have 50 projects and each has 1000 issues then the total API calls for fetching issue permission is 50000 which slows down the resultant code.
Question: Is there a better approach to minimize the API calls or improve this method of fetching users/actors for projects and issues?
Hello @Moxarth Rathod
Nope, there are no 'shortcuts' to getting all the permissions of all the issues of all the projects. If you want extremely granular information from a very large dataset, you have to expect extremely laborious collection thereof.
Just break your query down into batches, add some jitter / delay to avoid hitting the request limits, and then the time it takes will be the time it takes.
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.