Can i get suggestions , on how to fetch issues especially when there are a lot of them in the instance , without burdening the instance,
Right now, iam fetching using pagination and changing the count values and placing setTimeout function in between each execution of the function , until it fetches all the issues or desired values , is there any other way to do it ?
let count = 0
let issues= []
async function fetchIssues(){
let response = await fetch('your-domain.atlassian.net',{});
issues.push(response.issues)
if(count < 10){ //Ignore count normally iam comparing values with remaining issues and //run the code until i get all the issues
setTimeout(fetchIssues,500);
}
}
Iam just writing the code here for reference on how iam doing it , this is not my exact code
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Become an effective Jira admin
Manage global settings and shared configurations called schemes to achieve goals more quickly.
Streamline Jira administration with effective governance
Improve how you administer and maintain Jira and minimize clutter for users and administrators.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.
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.