"issue":
{
...
...
"fields":
{
...
...
"subtasks": //The subtasks is an array of objects. Each subtask is an object in itself.
[
{
"id":String, //ID of the sub-task
"key":String, //Key of the sub-task
"self": String, //URL of the sub-task
"fields": [object] //Fields of the sub-task.
{
"summary":"child",
"status":
{
"self":String, //Status of the sub-task
"description":String, //Description of the status
"iconUrl":String, //URL of the status icon
"name":String, //Name of the status
"id":String, //ID of the status
"statusCategory":
{
"self":String, //URL of the status category
"id":Number, //ID of the status category
"key":String, //Key of the status category
"colorName":String, //Colour of the status category
"name":String //Name of the status
}
},
"priority":
{
"self":String, //URL of the priority of the sub-task
"iconUrl":String, //URL of the priority icon of the sub-task
"name":String, //Name of the priority of the sub-task
"id":String //ID of the priority of the sub-task
},
"issuetype":
{
"self":String, //URL of the sub-task's Issue type.
"id":String, //ID of the sub-task's Issue type.
"description":String, //Description of the sub-task's Issue type.
"iconUrl":String, //URL of the sub-task's Issue type icon
"name":String, //Name of the sub-task's Issue Type.
"subtask": "Boolean", //True when issue is a sub-task.
"avatarId": Number, //Number of the avatar ID of the issue.
}
}
}
{
//Second sub-task and so on.
}
...
],
...
}
...
} |