JIRA APIs, is there a way to know list of issue-types which allow subtask creation under them..
API Get issue types for project though gives list of all issues-types and has flag indicating whether issuetype is a subtask or not, but we need to know if an issuetype supports subtask creation under that
Hey @nav ,
Welcome to Atlassian community!
Issue type/workitem type as subtask (hierarchy Level = -1) can be created for any of the standard issuetype/workitem type (hierarchyLevel = 0). When you use the API Get issue types for project in response if you get hierarchyLevel = 0, it means it will support subtask and it is standard issue type/workitem type.
Regards
Chitra Nagdeo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.