I am using Jira APIs (https://ict4dprojectservices.atlassian.net/rest/api/2/search?jql=) to get information out of the system and have the following questions.
1. Max result set size is 100, how can I increase the size.
2. I am not able to get comments related to issues, using APIs.
3. How can I get the attachments for the issues?
@vipin.gupta Welcome to the community!
Here is answer as per your question,
Thank you for the prompt reply, very useful.
Another question regarding startAt parameter.
I am using URL
I am getting below message.
This means I am getting 498 issues. So when I will set startAt parameter as 5, I should get empty response. But that is not the case, I am getting data with startAt parameter as 5
Please advice how to use startAt parameter so that code can end the loop.
'total' in response here means total number of issue that your query satisfy.
So, for maxResults=100&startAt=0 query your response,
You can take 'total' as maximum size of array and 'startAt' as starting index from where you are fetching sub array.
Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events