Hi, I've been tasked with creating a script that will check each project for their individual user groups, and if a particular user group is within that project then do something with that project, whatever that may be, not relavent here.
My current solution is recursively step through the paginated projects and check each individual project with an API call each against that specific role, this is slow and hitting rate limiting blocks. Not overly an issue as I could always add some time between the requests, albeit slowing the execution down, but would like to check if there is a better method of acheiving this first before making that step.
Let me know if you require more information
Many thanks!
Groups are added to project roles, so are you checking the roles used by users on the project or you're keen on the roles or groups on the permission scheme? Although for any API call to Jira, it is good you limit your request to 2 concurrency per minute as you won't be able to increase it any further even if you tried as there are rate limiters on cloud instances to avoid disruption of services.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.