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?
@Moxarth Rathod Great question. There is not a better way of doing this other than using an app. The marketplace has a couple of apps like EasyBI that you might take a look at. This way you could write reports that you could just go an pull that would have the information instead of writing an app to pull the information every time.
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.