Hi,
Are there any Jira APIs to get details of all sub-tasks in a project
I tried using JQL to fetch these details which i can see all sub-tasks are coming but when using it as a parameters in below URL, many sub-tasks are getting missed.
https://balic.atlassian.net/rest/api/2/search?jql
This is URL im using wherein i can see many sub-tasks are getting missed
You are using the correct end-point, but please note that the response is paginated!
For example, if there are 10,000 sub-tasks on your issue, it will not return them as a single JSON response because that wouldn't scale. Instead, it returns the first batch of N issues, then gives you another link to return the second batch, and so on. You have to walk through all pages to get the full result.
See: https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#pagination
Please check this doc about searching via rest api. Maybe this will help you to fix that - https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-query-issues-6291606/
Another question - As I understand "Development Task" is your sub-task type right?
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try the following JQL:
project = ProjectName and issuetype IN subTaskIssueTypes()
this displays all issues that are of type "subtask" in the project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.