Here’s the complete JSON of KAN-17 after I manually set the Epic KAN-16 as Parent.
[
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10069",
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10069",
"key": "KAN-17",
"fields": {
"statuscategorychangedate": "2026-01-27T15:55:06.640+0100",
"issuetype": {
"self": "https://XYZ.atlassian.net/rest/api/2/issuetype/10006",
"id": "10006",
"description": "Tasks track small, distinct pieces of work.",
"iconUrl": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium",
"name": "Task",
"subtask": false,
"avatarId": 10318,
"entityId": "2b7613f7-0ec3-45ce-8385-ade246e59d1b",
"hierarchyLevel": 0
},
"parent": {
"id": "10068",
"key": "KAN-16",
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10068",
"fields": {
"summary": "n8n Epic",
"status": {
"self": "https://XYZ.atlassian.net/rest/api/2/status/10003",
"description": "",
"iconUrl": "https://XYZ.atlassian.net/images/icons/statuses/generic.png",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"priority": {
"self": "https://XYZ.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://XYZ.atlassian.net/images/icons/priorities/medium_new.svg",
"name": "Medium",
"id": "3"
},
"issuetype": {
"self": "https://XYZ.atlassian.net/rest/api/2/issuetype/10004",
"id": "10004",
"description": "Epics track collections of related bugs, stories, and tasks.",
"iconUrl": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10307?size=medium",
"name": "Epic",
"subtask": false,
"avatarId": 10307,
"entityId": "XYZ",
"hierarchyLevel": 1
}
}
},
"components": [],
"timespent": null,
"timeoriginalestimate": null,
"project": {
"self": "https://XYZ.atlassian.net/rest/api/2/project/10001",
"id": "10001",
"key": "KAN",
"name": "Re-Thought",
"projectTypeKey": "software",
"simplified": true,
"avatarUrls": {
"48x48": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408",
"24x24": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=small",
"16x16": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=xsmall",
"32x32": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=medium"
}
},
"description": null,
"fixVersions": [],
"aggregatetimespent": null,
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
},
"resolution": null,
"timetracking": {},
"customfield_10015": null,
"security": null,
"attachment": [],
"aggregatetimeestimate": null,
"resolutiondate": null,
"workratio": -1,
"summary": "n8n Task",
"issuerestriction": {
"issuerestrictions": {},
"shouldDisplay": true
},
"watches": {
"self": "https://XYZ.atlassian.net/rest/api/2/issue/KAN-17/watchers",
"watchCount": 1,
"isWatching": true
},
"lastViewed": "2026-01-27T17:40:45.715+0100",
"creator": {
"self": "https://XYZ.atlassian.net/rest/api/2/user?accountId=XYZ",
"accountId": "XYZ",
"emailAddress": "XYZ",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/48",
"24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/24",
"16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/16",
"32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/32"
},
"displayName": "Thomas Gericke",
"active": true,
"timeZone": "Europe/Berlin",
"accountType": "atlassian"
},
"subtasks": [
{
"id": "10071",
"key": "KAN-18",
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10071",
"fields": {
"summary": "n8n Subtask",
"status": {
"self": "https://XYZ.atlassian.net/rest/api/2/status/10003",
"description": "",
"iconUrl": "https://XYZ.atlassian.net/images/icons/statuses/generic.png",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"priority": {
"self": "https://XYZ.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://XYZ.atlassian.net/images/icons/priorities/medium_new.svg",
"name": "Medium",
"id": "3"
},
"issuetype": {
"self": "https://XYZ.atlassian.net/rest/api/2/issuetype/10005",
"id": "10005",
"description": "Subtasks track small pieces of work that are part of a larger task.",
"iconUrl": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10316?size=medium",
"name": "Subtask",
"subtask": true,
"avatarId": 10316,
"entityId": "XYZ",
"hierarchyLevel": -1
}
}
}
],
"created": "2026-01-27T15:55:06.372+0100",
"customfield_10021": null,
"reporter": {
"self": "https://XYZ.atlassian.net/rest/api/2/user?accountId=XYZ",
"accountId": "XYZ",
"emailAddress": "XYZ",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/48",
"24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/24",
"16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/16",
"32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/70121:066c27ef-48c4-45c6-92c5-9c0c67cb2c97/61335ad0-c1a4-46aa-8c97-52910de46197/32"
},
"displayName": "Thomas Gericke",
"active": true,
"timeZone": "Europe/Berlin",
"accountType": "atlassian"
},
"aggregateprogress": {
"progress": 0,
"total": 0
},
"priority": {
"self": "https://XYZ.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://XYZ.atlassian.net/images/icons/priorities/medium_new.svg",
"name": "Medium",
"id": "3"
},
"customfield_10001": null,
"labels": [
"Child-Task"
],
"environment": null,
"customfield_10019": "0|i0003j:",
"timeestimate": null,
"aggregatetimeoriginalestimate": null,
"versions": [],
"duedate": null,
"progress": {
"progress": 0,
"total": 0
},
"issuelinks": [],
"votes": {
"self": "https://XYZ.atlassian.net/rest/api/2/issue/KAN-17/votes",
"votes": 0,
"hasVoted": false
},
"comment": {
"comments": [],
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10069/comment",
"maxResults": 0,
"total": 0,
"startAt": 0
},
"assignee": null,
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": []
},
"updated": "2026-01-27T17:40:51.684+0100",
"status": {
"self": "https://XYZ.atlassian.net/rest/api/2/status/10003",
"description": "",
"iconUrl": "https://XYZ.atlassian.net/images/icons/statuses/generic.png",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
}
}
}
]
It looks pretty much identical to the relation between Subtask (KAN-18) and Task (KAN-17):
[
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10071",
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10071",
"key": "KAN-18",
"fields": {
"statuscategorychangedate": "2026-01-27T15:55:07.888+0100",
"issuetype": {
"self": "https://XYZ.atlassian.net/rest/api/2/issuetype/10005",
"id": "10005",
"description": "Subtasks track small pieces of work that are part of a larger task.",
"iconUrl": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10316?size=medium",
"name": "Subtask",
"subtask": true,
"avatarId": 10316,
"entityId": "XYZ",
"hierarchyLevel": -1
},
"parent": {
"id": "10069",
"key": "KAN-17",
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10069",
"fields": {
"summary": "n8n Task",
"status": {
"self": "https://XYZ.atlassian.net/rest/api/2/status/10003",
"description": "",
"iconUrl": "https://XYZ.atlassian.net/images/icons/statuses/generic.png",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
},
"priority": {
"self": "https://XYZ.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://XYZ.atlassian.net/images/icons/priorities/medium_new.svg",
"name": "Medium",
"id": "3"
},
"issuetype": {
"self": "https://XYZ.atlassian.net/rest/api/2/issuetype/10006",
"id": "10006",
"description": "Tasks track small, distinct pieces of work.",
"iconUrl": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium",
"name": "Task",
"subtask": false,
"avatarId": 10318,
"entityId": "XYZ",
"hierarchyLevel": 0
}
}
},
"components": [],
"timespent": null,
"timeoriginalestimate": null,
"project": {
"self": "https://XYZ.atlassian.net/rest/api/2/project/10001",
"id": "10001",
"key": "KAN",
"name": "Re-Thought",
"projectTypeKey": "software",
"simplified": true,
"avatarUrls": {
"48x48": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408",
"24x24": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=small",
"16x16": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=xsmall",
"32x32": "https://XYZ.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10408?size=medium"
}
},
"description": null,
"fixVersions": [],
"aggregatetimespent": null,
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
},
"resolution": null,
"timetracking": {},
"customfield_10015": null,
"security": null,
"attachment": [],
"aggregatetimeestimate": null,
"resolutiondate": null,
"workratio": -1,
"summary": "n8n Subtask",
"issuerestriction": {
"issuerestrictions": {},
"shouldDisplay": true
},
"watches": {
"self": "https://XYZ.atlassian.net/rest/api/2/issue/KAN-18/watchers",
"watchCount": 1,
"isWatching": true
},
"lastViewed": null,
"creator": {
"self": "https://XYZ.atlassian.net/rest/api/2/user?accountId=XYZ",
"accountId": "XYZ",
"emailAddress": "XYZ",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/48",
"24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/24",
"16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/16",
"32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/32"
},
"displayName": "Thomas Gericke",
"active": true,
"timeZone": "Europe/Berlin",
"accountType": "atlassian"
},
"subtasks": [],
"created": "2026-01-27T15:55:07.439+0100",
"customfield_10021": null,
"reporter": {
"self": "https://XYZ.atlassian.net/rest/api/2/user?accountId=XYZ",
"accountId": "XYZ",
"emailAddress": "XYZ",
"avatarUrls": {
"48x48": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/48",
"24x24": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/24",
"16x16": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/16",
"32x32": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/XYZ/XYZ/32"
},
"displayName": "Thomas Gericke",
"active": true,
"timeZone": "Europe/Berlin",
"accountType": "atlassian"
},
"aggregateprogress": {
"progress": 0,
"total": 0
},
"priority": {
"self": "https://XYZ.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://XYZ.atlassian.net/images/icons/priorities/medium_new.svg",
"name": "Medium",
"id": "3"
},
"customfield_10001": null,
"labels": [],
"environment": null,
"customfield_10019": "0|i0003r:",
"timeestimate": null,
"aggregatetimeoriginalestimate": null,
"versions": [],
"duedate": null,
"progress": {
"progress": 0,
"total": 0
},
"issuelinks": [],
"votes": {
"self": "https://XYZ.atlassian.net/rest/api/2/issue/KAN-18/votes",
"votes": 0,
"hasVoted": false
},
"comment": {
"comments": [],
"self": "https://XYZ.atlassian.net/rest/api/2/issue/10071/comment",
"maxResults": 0,
"total": 0,
"startAt": 0
},
"assignee": null,
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": []
},
"updated": "2026-01-27T15:55:07.579+0100",
"status": {
"self": "https://XYZ.atlassian.net/rest/api/2/status/10003",
"description": "",
"iconUrl": "https://XYZ.atlassian.net/images/icons/statuses/generic.png",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "https://XYZ.atlassian.net/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
}
}
}
]