Hi community,
I'm currently working with the Jira REST API and I'm using the Search API with a JQL query to fetch all issues for a particular sprint.
My goal is:
- To retrieve all worklogs and comments for each issue in that sprint,
- And if possible, sort worklogs and comments by newest first.
My current query looks like this:
GET /rest/api/2/search?jql=sprint = "MOBL-01APRIL"&fields=summary,worklog,comment&expand=worklog,renderedFields
Questions:
- Is it possible to retrieve all worklogs and comments for each issue directly using the Search API?
- If not, is there an efficient way to get the complete data (maybe via a secondary request per issue)?
- What is the default limit for worklogs and comments returned per issue via the Search API?
- Is there a way to sort the worklogs and comments by newest first within the API response?
Any guidance, workarounds, or best practices would be appreciated!
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.