How do I create a sub-issue to an issue(as parent) using REST API? Like I can create sub-task to an issue as parent.

Vishal Arora June 27, 2013

As I can create a sub-task specifying another issue as parent, can I create sub-issue which is not of issuetype id = 5 and still have a parent using REST API? Please suggest how, if this is possible.

1 answer

0 votes
ChrisA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 27, 2013

I believe you'll need to use the proper sub-task issue ID as mentioned here:

https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Create+Issue#JIRARESTAPIExample-CreateIssue-Exampleofcreatingasub-task

the issueType field must correspond to a sub-task issue type

Vishal Arora June 27, 2013

I want to create a sub-issue under another issue in the NSAFe structure using REST API. I see I can create a sub-task but wanted to know if there is a way to create sub-issue as well with a parent issue.

Suggest an answer

Log in or Sign up to answer