|
| 1 | +```json |
| 2 | +[ |
| 3 | + { |
| 4 | + "self": "{{ host }}/v2/issues/TREK-9844", |
| 5 | + "id": "593cd211ef7e8a332414f2a7", |
| 6 | + "key": "TREK-9844", |
| 7 | + "version": 7, |
| 8 | + "lastCommentUpdatedAt": "2017-07-18T13:33:44.291+0000", |
| 9 | + "summary": "subtask", |
| 10 | + "parent": { |
| 11 | + "self": "{{ host }}/v2/issues/JUNE-2", |
| 12 | + "id": "593cd0acef7e8a332414f28e", |
| 13 | + "key": "JUNE-2", |
| 14 | + "display": "Task" |
| 15 | + }, |
| 16 | + "aliases": [ |
| 17 | + "JUNE-3" |
| 18 | + ], |
| 19 | + |
| 20 | + "updatedBy": { |
| 21 | + "self": "{{ host }}/v2/users/1120000000016876", |
| 22 | + "id": "<employee ID>", |
| 23 | + "display": "<employee name displayed>" |
| 24 | + }, |
| 25 | + "description": "<#<html><head></head><body><div>test</div><div> </div><div> </div> </body></html>#>", |
| 26 | + "sprint": [ |
| 27 | + { |
| 28 | + "self": "{{ host }}/v2/sprints/5317", |
| 29 | + "id": "5317", |
| 30 | + "display": "sprint1" |
| 31 | + } |
| 32 | + ], |
| 33 | + "type": { |
| 34 | + "self": "{{ host }}/v2/issuetypes/2", |
| 35 | + "id": "2", |
| 36 | + "key": "task", |
| 37 | + "display": "Issue" |
| 38 | + }, |
| 39 | + "priority": { |
| 40 | + "self": "{{ host }}/v2/priorities/2", |
| 41 | + "id": "2", |
| 42 | + "key": "normal", |
| 43 | + "display": "Medium" |
| 44 | + }, |
| 45 | + |
| 46 | + "createdAt": "2017-06-11T05:16:01.339+0000", |
| 47 | + "followers": [ |
| 48 | + { |
| 49 | + "self": "{{ host }}/v2/users/1120000000016876", |
| 50 | + "id": "<employee ID>", |
| 51 | + "display": "<employee name displayed>" |
| 52 | + } |
| 53 | + ], |
| 54 | + "createdBy": { |
| 55 | + "self": "{{ host }}/v2/users/1120000000049224", |
| 56 | + "id": "<employee ID>", |
| 57 | + "display": "<employee name displayed>" |
| 58 | + }, |
| 59 | + "votes": 0, |
| 60 | + "assignee": { |
| 61 | + "self": "{{ host }}/v2/users/1120000000049224", |
| 62 | + "id": "<employee ID>", |
| 63 | + "display": "<employee name displayed>" |
| 64 | + }, |
| 65 | + "queue": { |
| 66 | + "self": "{{ host }}/v2/queues/TREK", |
| 67 | + "id": "111", |
| 68 | + "key": "TREK", |
| 69 | + "display": "Startrack" |
| 70 | + }, |
| 71 | + "updatedAt": "2017-07-18T13:33:44.291+0000", |
| 72 | + "status": { |
| 73 | + "self": "{{ host }}/v2/statuses/1", |
| 74 | + "id": "1", |
| 75 | + "key": "open", |
| 76 | + "display": "Open" |
| 77 | + }, |
| 78 | + "previousStatus": { |
| 79 | + "self": "{{ host }}/v2/statuses/2", |
| 80 | + "id": "2", |
| 81 | + "key": "resolved", |
| 82 | + "display": "Resolved" |
| 83 | + }, |
| 84 | + "favorite": false |
| 85 | + }, |
| 86 | + {...} |
| 87 | +] |
| 88 | +``` |
| 89 | + |
| 90 | +{% cut "Response parameters" %} |
| 91 | + |
| 92 | + | Parameter | Description | Data type | |
| 93 | + | ----- | ----- | ----- | |
| 94 | + | self | Address of the API resource with information about the issue. | String | |
| 95 | + | id | Issue ID. | String | |
| 96 | + | key | Issue key. | String | |
| 97 | + | version | Issue version. Each change to the issue parameters increases its version number. | Number | |
| 98 | + | lastCommentUpdatedAt | Date and time when the last comment was added. | String | |
| 99 | + | summary | Issue name. | String | |
| 100 | + | [parent](#parent) | Object with information about the parent issue. | Objects | |
| 101 | + | aliases | Array with information about alternative issue keys. | Array of strings | |
| 102 | + | [updatedBy](#updated-by) | Object with information about the employee who edited the issue last. | Objects | |
| 103 | + | description | Issue description. | String | |
| 104 | + | [sprint](#sprint) | Array of objects with information about the sprint. | Array of objects | |
| 105 | + | [type](#type) | Object with information about the issue type. | Objects | |
| 106 | + | [priority](#priority) | Object with information about the priority. | Objects | |
| 107 | + | createdAt | Issue creation date and time. | String | |
| 108 | + | [followers](#followers) | Array of objects with information about issue followers. | Array of objects | |
| 109 | + | [createdBy](#created-by) | Object with information about the user who created the issue. | Objects | |
| 110 | + | votes | Number of votes for the issue. | Number | |
| 111 | + | [assignee](#assignee) | Object with information about the issue's assignee. | Objects | |
| 112 | + | [queue](#queue) | Object with information about the issue queue. | Objects | |
| 113 | + | updatedAt | Date and time when the issue was last updated. | String | |
| 114 | + | [status](#status) | Object with information about the issue status. | Objects | |
| 115 | + | [previousStatus](#previous-status) | Object with information about the previous status of the issue. | Objects | |
| 116 | + | favorite | Flag indicating a favorite issue:<ul><li>`true`: The user added the issue to favorites.</li><li>`false`: The issue is not added to favorites.</li></ul> | Logical | |
| 117 | + |
| 118 | + **Object fields** `parent` {#parent} |
| 119 | + |
| 120 | + | Parameter | Description | Data type | |
| 121 | + | ----- | ----- | ----- | |
| 122 | + | self | Address of the API resource with information about the issue. | String | |
| 123 | + | id | Issue ID. | String | |
| 124 | + | key | Issue key. | String | |
| 125 | + | display | Issue name displayed. | String | |
| 126 | + |
| 127 | + **Object fields** `updatedBy` {#updated-by} |
| 128 | + |
| 129 | + {% include [user](../../../_includes/tracker/api/user.md) %} |
| 130 | + |
| 131 | + {% include [sprint](../../../_includes/tracker/api/sprint.md) %} |
| 132 | + |
| 133 | + {% include [type](../../../_includes/tracker/api/type.md) %} |
| 134 | + |
| 135 | + {% include [priority](../../../_includes/tracker/api/priority.md) %} |
| 136 | + |
| 137 | + **Array object fields** `followers` {#followers} |
| 138 | + |
| 139 | + {% include [user](../../../_includes/tracker/api/user.md) %} |
| 140 | + |
| 141 | + **Object fields** `createdBy` {#created-by} |
| 142 | + |
| 143 | + {% include [user](../../../_includes/tracker/api/user.md) %} |
| 144 | + |
| 145 | + **Object fields** `assignee` {#assignee} |
| 146 | + |
| 147 | + {% include [user](../../../_includes/tracker/api/user.md) %} |
| 148 | + |
| 149 | + **Object fields** `queue` {#queue} |
| 150 | + |
| 151 | + {% include [queue](../../../_includes/tracker/api/queue.md) %} |
| 152 | + |
| 153 | + **Object fields** `status` {#status} |
| 154 | + |
| 155 | + {% include [status](../../../_includes/tracker/api/status.md) %} |
| 156 | + |
| 157 | + **Object fields** `previousStatus` {#previous-status} |
| 158 | + |
| 159 | + {% include [status](../../../_includes/tracker/api/status.md) %} |
| 160 | + |
| 161 | +{% endcut %} |
| 162 | + |
0 commit comments