Returns all boards. This only includes boards that the user has permission to view.
Forge and OAuth2 apps cannot access this REST resource.
integer
string
string
StringList
integer
Returns the requested boards, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
{
"id": 10001,
"name": "Scrum Board",
"self": "http://www.example.com/jira/rest/agile/1.0/board/10001",
"type": "scrum"
}Creates a new board. Board name, type and filter Id is required.
Forge and OAuth2 apps cannot access this REST resource.
Bean which contains board name, type and filter Id.
integer
string
string
Returns the created board.
1
2
3
4
5
6
7
8
9
10
curl --request POST \
--url 'http://{baseurl}/rest/agile/1.0/board' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"filterId": 10040,
"name": "scrum board",
"type": "scrum"
}'1
2
3
4
5
6
{
"id": 10001,
"name": "Scrum Board",
"self": "http://www.example.com/jira/rest/agile/1.0/board/10001",
"type": "scrum"
}Returns a single board, for a given board Id.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturns the requested board.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
{
"id": 10001,
"name": "Scrum Board",
"self": "http://www.example.com/jira/rest/agile/1.0/board/10001",
"type": "scrum"
}Deletes the board.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturned if the board has been successfully removed.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}' \
--user 'email@example.com:<api_token>'Returns all issues from a board's backlog, for a given board Id.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredstring
string
integer
boolean
array<StringList>
integer
Returns the requested issues.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/backlog' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"changelog": {
"histories": [
{
"author": {},
"created": "<string>",
"historyMetadata": {},
"id": "<string>",
"items": [
{}
]
}
],
"maxResults": 2154,
"startAt": 2154,
"total": 2154
},
"editmeta": {},
"fields": {
"watcher": {
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
"isWatching": false,
"watchCount": 1,
"watchers": [
{
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
}
]
},
"attachment": [
{
"self": "http://www.example.com/jira/rest/api/2.0/attachments/10000",
"filename": "picture.jpg",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU",
"lastLoginTime": "2023-08-30T16:37:01+1000"
},
"created": "2024-05-23T14:47:28.592+0000",
"size": 23123,
"mimeType": "image/jpeg",
"content": "http://www.example.com/jira/attachments/10000",
"thumbnail": "http://www.example.com/jira/secure/thumbnail/10000"
}
],
"sub-tasks": [
{
"id": "10000",
"type": {
"id": "10000",
"name": "",
"inward": "Parent",
"outward": "Sub-task"
},
"outwardIssue": {
"id": "10003",
"key": "EX-2",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"description": "example bug report",
"project": {
"self": "http://www.example.com/jira/rest/api/2/project/EX",
"id": "10000",
"key": "EX",
"name": "Example",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/projectavatar?size=large&pid=10000",
"24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000",
"16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
"32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000"
},
"projectCategory": {
"self": "http://www.example.com/jira/rest/api/2/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
}
},
"comment": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/comment/10000",
"id": "10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"created": "2024-05-23T14:47:28.538+0000",
"updated": "2024-05-23T14:47:28.538+0000",
"visibility": {
"type": "role",
"value": "Administrators"
}
}
],
"issuelinks": [
{
"id": "10001",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"outwardIssue": {
"id": "10004L",
"key": "PRJ-2",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
},
{
"id": "10002",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"inwardIssue": {
"id": "10004",
"key": "PRJ-3",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-3",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"worklog": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"comment": "I did some work here.",
"updated": "2024-05-23T14:47:28.599+0000",
"visibility": {
"type": "group",
"value": "jira-developers"
},
"started": "2024-05-23T14:47:28.598+0000",
"timeSpent": "3h 20m",
"timeSpentSeconds": 12000,
"id": "100028",
"issueId": "10002"
}
],
"updated": 1,
"timetracking": {
"originalEstimate": "10m",
"remainingEstimate": "3m",
"timeSpent": "6m",
"originalEstimateSeconds": 600,
"remainingEstimateSeconds": 200,
"timeSpentSeconds": 400
}
},
"fieldsToInclude": {
"included": [
"<string>"
]
},
"id": "10000",
"key": "HSP-1",
"names": {},
"operations": {
"linkGroups": [
{
"groups": [],
"header": {},
"id": "<string>",
"links": [
{}
],
"styleClass": "<string>",
"weight": 2154
}
]
},
"properties": {
"properties": {}
},
"renderedFields": {},
"schema": {},
"self": "https://jira.atlassian.com/rest/api/2/issue/10000",
"transitions": [
{
"description": "Close the issue.",
"fields": {},
"id": "2",
"name": "Close Issue",
"opsbarSequence": 10,
"to": {
"description": "The issue is currently being worked on.",
"iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
"id": "10000",
"name": "In Progress",
"self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
"statusCategory": {},
"statusColor": "green"
}
}
],
"versionedRepresentations": {}
}Get the board configuration. The response contains the following fields:
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturns the configuration of the board for given boardId.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/configuration' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"columnConfig": {
"columns": [
{
"max": 4,
"min": 2,
"name": "To Do",
"statuses": [
{}
]
}
],
"constraintType": "issueCount"
},
"estimation": {
"field": {
"displayName": "Story Points",
"fieldId": "customfield_10002"
},
"type": "field"
},
"filter": {
"id": "1001",
"self": "http://www.example.com/jira/rest/agile/1.0/filter/1001"
},
"id": 10001,
"name": "Scrum",
"ranking": {
"rankCustomFieldId": 10020
},
"self": "http://www.example.com/jira/rest/agile/1.0/board/10001",
"subQuery": {
"query": "project = HSP"
},
"type": "scrum"
}Returns all epics from the board, for the given board Id. This only includes epics that the user has permission to view. Note, if the user does not have permission to view the board, no epics will be returned at all.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
string
integer
Returns the requested epics, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
{
"color": {
"key": "ghx-label-1"
},
"done": true,
"id": 10000,
"key": "PR-1",
"name": "Epic 1",
"self": "http://www.example.com/jira/rest/api/2/issue/10000",
"summary": "Epic 1 summary"
}Returns all issues that do not belong to any epic on a board, for a given board Id.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredstring
string
integer
boolean
array<StringList>
integer
Returns the requested issues, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic/none/issue' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"changelog": {
"histories": [
{
"author": {},
"created": "<string>",
"historyMetadata": {},
"id": "<string>",
"items": [
{}
]
}
],
"maxResults": 2154,
"startAt": 2154,
"total": 2154
},
"editmeta": {},
"fields": {
"watcher": {
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
"isWatching": false,
"watchCount": 1,
"watchers": [
{
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
}
]
},
"attachment": [
{
"self": "http://www.example.com/jira/rest/api/2.0/attachments/10000",
"filename": "picture.jpg",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU",
"lastLoginTime": "2023-08-30T16:37:01+1000"
},
"created": "2024-05-23T14:47:28.592+0000",
"size": 23123,
"mimeType": "image/jpeg",
"content": "http://www.example.com/jira/attachments/10000",
"thumbnail": "http://www.example.com/jira/secure/thumbnail/10000"
}
],
"sub-tasks": [
{
"id": "10000",
"type": {
"id": "10000",
"name": "",
"inward": "Parent",
"outward": "Sub-task"
},
"outwardIssue": {
"id": "10003",
"key": "EX-2",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"description": "example bug report",
"project": {
"self": "http://www.example.com/jira/rest/api/2/project/EX",
"id": "10000",
"key": "EX",
"name": "Example",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/projectavatar?size=large&pid=10000",
"24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000",
"16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
"32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000"
},
"projectCategory": {
"self": "http://www.example.com/jira/rest/api/2/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
}
},
"comment": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/comment/10000",
"id": "10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"created": "2024-05-23T14:47:28.538+0000",
"updated": "2024-05-23T14:47:28.538+0000",
"visibility": {
"type": "role",
"value": "Administrators"
}
}
],
"issuelinks": [
{
"id": "10001",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"outwardIssue": {
"id": "10004L",
"key": "PRJ-2",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
},
{
"id": "10002",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"inwardIssue": {
"id": "10004",
"key": "PRJ-3",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-3",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"worklog": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"comment": "I did some work here.",
"updated": "2024-05-23T14:47:28.599+0000",
"visibility": {
"type": "group",
"value": "jira-developers"
},
"started": "2024-05-23T14:47:28.598+0000",
"timeSpent": "3h 20m",
"timeSpentSeconds": 12000,
"id": "100028",
"issueId": "10002"
}
],
"updated": 1,
"timetracking": {
"originalEstimate": "10m",
"remainingEstimate": "3m",
"timeSpent": "6m",
"originalEstimateSeconds": 600,
"remainingEstimateSeconds": 200,
"timeSpentSeconds": 400
}
},
"fieldsToInclude": {
"included": [
"<string>"
]
},
"id": "10000",
"key": "HSP-1",
"names": {},
"operations": {
"linkGroups": [
{
"groups": [],
"header": {},
"id": "<string>",
"links": [
{}
],
"styleClass": "<string>",
"weight": 2154
}
]
},
"properties": {
"properties": {}
},
"renderedFields": {},
"schema": {},
"self": "https://jira.atlassian.com/rest/api/2/issue/10000",
"transitions": [
{
"description": "Close the issue.",
"fields": {},
"id": "2",
"name": "Close Issue",
"opsbarSequence": 10,
"to": {
"description": "The issue is currently being worked on.",
"iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
"id": "10000",
"name": "In Progress",
"self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
"statusCategory": {},
"statusColor": "green"
}
}
],
"versionedRepresentations": {}
}Returns all issues that belong to an epic on the board, for the given epic Id and the board Id.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
Requiredstring
string
integer
boolean
array<StringList>
integer
Returns the requested issues, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/epic/{epicId}/issue' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"changelog": {
"histories": [
{
"author": {},
"created": "<string>",
"historyMetadata": {},
"id": "<string>",
"items": [
{}
]
}
],
"maxResults": 2154,
"startAt": 2154,
"total": 2154
},
"editmeta": {},
"fields": {
"watcher": {
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
"isWatching": false,
"watchCount": 1,
"watchers": [
{
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
}
]
},
"attachment": [
{
"self": "http://www.example.com/jira/rest/api/2.0/attachments/10000",
"filename": "picture.jpg",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU",
"lastLoginTime": "2023-08-30T16:37:01+1000"
},
"created": "2024-05-23T14:47:28.592+0000",
"size": 23123,
"mimeType": "image/jpeg",
"content": "http://www.example.com/jira/attachments/10000",
"thumbnail": "http://www.example.com/jira/secure/thumbnail/10000"
}
],
"sub-tasks": [
{
"id": "10000",
"type": {
"id": "10000",
"name": "",
"inward": "Parent",
"outward": "Sub-task"
},
"outwardIssue": {
"id": "10003",
"key": "EX-2",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"description": "example bug report",
"project": {
"self": "http://www.example.com/jira/rest/api/2/project/EX",
"id": "10000",
"key": "EX",
"name": "Example",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/projectavatar?size=large&pid=10000",
"24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000",
"16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
"32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000"
},
"projectCategory": {
"self": "http://www.example.com/jira/rest/api/2/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
}
},
"comment": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/comment/10000",
"id": "10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"created": "2024-05-23T14:47:28.538+0000",
"updated": "2024-05-23T14:47:28.538+0000",
"visibility": {
"type": "role",
"value": "Administrators"
}
}
],
"issuelinks": [
{
"id": "10001",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"outwardIssue": {
"id": "10004L",
"key": "PRJ-2",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
},
{
"id": "10002",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"inwardIssue": {
"id": "10004",
"key": "PRJ-3",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-3",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"worklog": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"comment": "I did some work here.",
"updated": "2024-05-23T14:47:28.599+0000",
"visibility": {
"type": "group",
"value": "jira-developers"
},
"started": "2024-05-23T14:47:28.598+0000",
"timeSpent": "3h 20m",
"timeSpentSeconds": 12000,
"id": "100028",
"issueId": "10002"
}
],
"updated": 1,
"timetracking": {
"originalEstimate": "10m",
"remainingEstimate": "3m",
"timeSpent": "6m",
"originalEstimateSeconds": 600,
"remainingEstimateSeconds": 200,
"timeSpentSeconds": 400
}
},
"fieldsToInclude": {
"included": [
"<string>"
]
},
"id": "10000",
"key": "HSP-1",
"names": {},
"operations": {
"linkGroups": [
{
"groups": [],
"header": {},
"id": "<string>",
"links": [
{}
],
"styleClass": "<string>",
"weight": 2154
}
]
},
"properties": {
"properties": {}
},
"renderedFields": {},
"schema": {},
"self": "https://jira.atlassian.com/rest/api/2/issue/10000",
"transitions": [
{
"description": "Close the issue.",
"fields": {},
"id": "2",
"name": "Close Issue",
"opsbarSequence": 10,
"to": {
"description": "The issue is currently being worked on.",
"iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
"id": "10000",
"name": "In Progress",
"self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
"statusCategory": {},
"statusColor": "green"
}
}
],
"versionedRepresentations": {}
}Returns all issues from a board, for a given board Id. This only includes issues that the user has permission to view. Note, if the user does not have permission to view the board, no issues will be returned at all. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredstring
string
integer
boolean
array<StringList>
integer
Returns the requested issues.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/issue' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"changelog": {
"histories": [
{
"author": {},
"created": "<string>",
"historyMetadata": {},
"id": "<string>",
"items": [
{}
]
}
],
"maxResults": 2154,
"startAt": 2154,
"total": 2154
},
"editmeta": {},
"fields": {
"watcher": {
"self": "http://www.example.com/jira/rest/api/2/issue/EX-1/watchers",
"isWatching": false,
"watchCount": 1,
"watchers": [
{
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
}
]
},
"attachment": [
{
"self": "http://www.example.com/jira/rest/api/2.0/attachments/10000",
"filename": "picture.jpg",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU",
"lastLoginTime": "2023-08-30T16:37:01+1000"
},
"created": "2024-05-23T14:47:28.592+0000",
"size": 23123,
"mimeType": "image/jpeg",
"content": "http://www.example.com/jira/attachments/10000",
"thumbnail": "http://www.example.com/jira/secure/thumbnail/10000"
}
],
"sub-tasks": [
{
"id": "10000",
"type": {
"id": "10000",
"name": "",
"inward": "Parent",
"outward": "Sub-task"
},
"outwardIssue": {
"id": "10003",
"key": "EX-2",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"description": "example bug report",
"project": {
"self": "http://www.example.com/jira/rest/api/2/project/EX",
"id": "10000",
"key": "EX",
"name": "Example",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/projectavatar?size=large&pid=10000",
"24x24": "http://www.example.com/jira/secure/projectavatar?size=small&pid=10000",
"16x16": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
"32x32": "http://www.example.com/jira/secure/projectavatar?size=medium&pid=10000"
},
"projectCategory": {
"self": "http://www.example.com/jira/rest/api/2/projectCategory/10000",
"id": "10000",
"name": "FIRST",
"description": "First Project Category"
}
},
"comment": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/comment/10000",
"id": "10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"created": "2024-05-23T14:47:28.538+0000",
"updated": "2024-05-23T14:47:28.538+0000",
"visibility": {
"type": "role",
"value": "Administrators"
}
}
],
"issuelinks": [
{
"id": "10001",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"outwardIssue": {
"id": "10004L",
"key": "PRJ-2",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-2",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
},
{
"id": "10002",
"type": {
"id": "10000",
"name": "Dependent",
"inward": "depends on",
"outward": "is depended by"
},
"inwardIssue": {
"id": "10004",
"key": "PRJ-3",
"self": "http://www.example.com/jira/rest/api/2/issue/PRJ-3",
"fields": {
"status": {
"iconUrl": "http://www.example.com/jira//images/icons/statuses/open.png",
"name": "Open"
}
}
}
}
],
"worklog": [
{
"self": "http://www.example.com/jira/rest/api/2/issue/10010/worklog/10000",
"author": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"updateAuthor": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"name": "fred",
"displayName": "Fred F. User",
"active": false
},
"comment": "I did some work here.",
"updated": "2024-05-23T14:47:28.599+0000",
"visibility": {
"type": "group",
"value": "jira-developers"
},
"started": "2024-05-23T14:47:28.598+0000",
"timeSpent": "3h 20m",
"timeSpentSeconds": 12000,
"id": "100028",
"issueId": "10002"
}
],
"updated": 1,
"timetracking": {
"originalEstimate": "10m",
"remainingEstimate": "3m",
"timeSpent": "6m",
"originalEstimateSeconds": 600,
"remainingEstimateSeconds": 200,
"timeSpentSeconds": 400
}
},
"fieldsToInclude": {
"included": [
"<string>"
]
},
"id": "10000",
"key": "HSP-1",
"names": {},
"operations": {
"linkGroups": [
{
"groups": [],
"header": {},
"id": "<string>",
"links": [
{}
],
"styleClass": "<string>",
"weight": 2154
}
]
},
"properties": {
"properties": {}
},
"renderedFields": {},
"schema": {},
"self": "https://jira.atlassian.com/rest/api/2/issue/10000",
"transitions": [
{
"description": "Close the issue.",
"fields": {},
"id": "2",
"name": "Close Issue",
"opsbarSequence": 10,
"to": {
"description": "The issue is currently being worked on.",
"iconUrl": "http://localhost:8090/jira/images/icons/progress.gif",
"id": "10000",
"name": "In Progress",
"self": "http://localhost:8090/jira/rest/api/2.0/status/10000",
"statusCategory": {},
"statusColor": "green"
}
}
],
"versionedRepresentations": {}
}Returns all projects that are associated with the board, for the given board Id. A project is associated with a board only if the board filter explicitly filters issues by the project and guaranties that all issues will come for one of those projects e.g. board's filter with "project in (PR-1, PR-1) OR reporter = admin" jql Projects are returned only if user can browse all projects that are associated with the board. Note, if the user does not have permission to view the board, no projects will be returned at all. Returned projects are ordered by the name.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
integer
Returns the board's projects, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/project' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"avatarUrls": {},
"id": "<string>",
"key": "<string>",
"name": "<string>",
"projectCategory": {
"description": "This is a project category",
"id": "10000",
"name": "My Project Category",
"self": "http://www.example.com/jira/rest/api/2/projectCategory/10000"
},
"projectTypeKey": "<string>",
"self": "<string>"
}Returns the keys of all properties for the board identified by the id. The user who retrieves the property keys is required to have permissions to view the board.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns the requested property keys.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
{
"keys": [
{
"key": "issue.support",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support"
}
]
}Returns the value of the property with a given key from the board identified by the provided id. The user who retrieves the property is required to have permissions to view the board.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturns the requested property.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
{
"keys": [
{
"key": "issue.support",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support"
}
]
}Sets the value of the specified board's property. You can use this resource to store a custom data against the board identified by the id. The user who stores the data is required to have permissions to modify the board.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturned if the board property is successfully updated.
1
2
3
4
curl --request PUT \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
{
"keys": [
{
"key": "issue.support",
"self": "http://www.example.com/jira/rest/api/2/issue/EX-2/properties/issue.support"
}
]
}Removes the property from the board identified by the id. Ths user removing the property is required to have permissions to modify the board.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
RequiredReturned if the board property was removed successfully.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/properties/{propertyKey}' \
--user 'email@example.com:<api_token>'Returns the value of the setting for refined velocity chart
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredReturned if the board exists and the property was found.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/settings/refined-velocity' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
{
"value": true
}Sets the value of the specified board's refined velocity setting.
Forge and OAuth2 apps cannot access this REST resource.
integer
RequiredThe request containing value of the board's property. The value has to a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.
boolean
Returned if the board property is successfully updated.
1
2
3
4
5
6
7
curl --request PUT \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/settings/refined-velocity' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json' \
--data '{
"value": true
}'Returns all sprints from a board, for a given board Id. This only includes sprints that the user has permission to view.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
StringList
integer
Returns the requested sprints, at the specified page of the results. Sprints will be ordered first by state (i.e. closed, active, future) then by their position in the backlog.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/sprint' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"activatedDate": "2015-04-11T15:22:00.000+10:00",
"autoStartStop": true,
"completeDate": "2015-04-20T11:04:00.000+10:00",
"endDate": "2015-04-20T01:22:00.000+10:00",
"goal": "Goal for the sprint",
"id": 10001,
"incompleteIssuesDestinationId": 10001,
"name": "Sprint 1",
"originBoardId": 5,
"self": "http://www.example.com/jira/rest/agile/1.0/sprint/10001",
"startDate": "2015-04-11T15:22:00.000+10:00",
"state": "active",
"synced": true
}Get all issues you have access to that belong to the sprint from the board. Issue returned from this resource contains additional fields like: sprint, closedSprints, flagged and epic. Issues are returned ordered by rank. JQL order has higher priority than default rank.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
Requiredstring
string
integer
boolean
array<StringList>
integer
Returns the requested issues, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"activatedDate": "2015-04-11T15:22:00.000+10:00",
"autoStartStop": true,
"completeDate": "2015-04-20T11:04:00.000+10:00",
"endDate": "2015-04-20T01:22:00.000+10:00",
"goal": "Goal for the sprint",
"id": 10001,
"incompleteIssuesDestinationId": 10001,
"name": "Sprint 1",
"originBoardId": 5,
"self": "http://www.example.com/jira/rest/agile/1.0/sprint/10001",
"startDate": "2015-04-11T15:22:00.000+10:00",
"state": "active",
"synced": true
}Returns all versions from a board, for a given board Id. This only includes versions that the user has permission to view. Note, if the user does not have permission to view the board, no versions will be returned at all. Returned versions are ordered by the name of the project from which they belong and then by sequence defined by user.
Forge and OAuth2 apps cannot access this REST resource.
integer
Requiredinteger
string
integer
Returns the requested versions, at the specified page of the results.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/agile/1.0/board/{boardId}/version' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"archived": false,
"description": "An excellent version",
"expand": "10000",
"id": "10000",
"moveUnfixedIssuesTo": "http://localhost:8090/jira/rest/api/2/version/10000/move",
"name": "New Version 1",
"overdue": true,
"project": "PXA",
"projectId": 10000,
"releaseDate": "<string>",
"releaseDateSet": false,
"released": true,
"self": "http://localhost:8090/jira/rest/api/2/version/10000",
"startDate": "<string>",
"startDateSet": false,
"userReleaseDate": "2012-09-15T21:11:01.834+0000",
"userStartDate": "2012-08-15T21:11:01.834+0000"
}Rate this page: