I want to know if there is a REST API to create an issue along with sub-task at one REST API call.
can JIRA take care of the associated parent key to the subtask when an issue is created.
example:
Create_Issue_API
{
project key : JIRA-TEST
fields:{
}
subtask
{
parentkey : ( auto assigned in the JIRA server side when parentkey is passed as null )
project key: JIRA-TEST
fields{
}
}
}
can this be achieved?
Thanks in advance.
Hey, Singh.
Unfortunately, there is no REST API call to do this. You need to first create the parent issue, get its key, then make another call to create the subtask with the parent key.
Kind regards,
Maurício Karas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.