Hi ,
I try to create a subtask with API but get the error:
Hi @Kei Ji Welcome to the Atlassian Community!
Here's a sample example of how I created a subtask of issue type (id 10001) "Task" under my parent of type "Epic"
URL - POST https://yourdomain.atlassian.net/rest/api/2/issue
Headers:
Content-Type: application/json
Make sure authentication is present in the header
JSON Body -
{
"fields": {
"project": {
"key": "FIR"
},
"parent": {
"key": "FIR-10"
},
"summary": "Sub-task of FIR-10",
"description": "Test Description",
"issuetype": {
"id": "10001"
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Mohamed Adel !
I now got this error:
response text = {"errorMessages":[],"errors":{"customfield_24109":"Option id 'null' is not valid"}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.