This resource represents issue resolution values. Use it to obtain a list of all issue resolution values and the details of individual resolution values.
Returns a list of all issue resolution values.
Permissions required: Permission to access Jira.
read:jira-work
read:resolution:jira
Connect app scope required: READ
This request has no parameters.
Returned if the request is successful.
array<Resolution>
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestJira(route`/rest/api/3/resolution`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
{
"description": "A fix for this issue is checked into the tree and tested.",
"id": "10000",
"name": "Fixed",
"self": "https://your-domain.atlassian.net/rest/api/3/resolution/1"
},
{
"description": "This is what it is supposed to do.",
"id": "10001",
"name": "Works as designed",
"self": "https://your-domain.atlassian.net/rest/api/3/resolution/3"
}
]
Creates an issue resolution.
Permissions required: Administer Jira global permission.
manage:jira-configuration
Connect app scope required: ADMIN
string
string
Requiredany
Returned if the request is successful.
The ID of an issue resolution.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
var bodyData = `{
"description": "My resolution description",
"name": "My new resolution"
}`;
const response = await api.asUser().requestJira(route`/rest/api/3/resolution`, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: bodyData
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
{
"id": "10001"
}
Sets default issue resolution.
Permissions required: Administer Jira global permission.
manage:jira-configuration
Connect app scope required: ADMIN
string
RequiredReturned if the request is successful.
any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
var bodyData = `{
"id": "3"
}`;
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/default`, {
method: 'PUT',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: bodyData
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
Changes the order of issue resolutions.
Permissions required: Administer Jira global permission.
manage:jira-configuration
Connect app scope required: ADMIN
string
array<string>
Requiredstring
Returned if the request is successful.
any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
var bodyData = `{
"after": "10002",
"ids": [
"10000",
"10001"
]
}`;
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/move`, {
method: 'PUT',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: bodyData
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
Returns a paginated list of resolutions. The list can contain all resolutions or a subset determined by any combination of these criteria:
Permissions required: Permission to access Jira.
read:jira-work
read:resolution:jira
Connect app scope required: READ
string
string
array<string>
boolean
Returned if the request is successful.
A page of items.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/search`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"isLast": true,
"maxResults": 50,
"startAt": 0,
"total": 1,
"values": [
{
"description": "This is what it is supposed to do.",
"id": "10001",
"isDefault": true,
"name": "Works as designed"
}
]
}
Returns an issue resolution value.
Permissions required: Permission to access Jira.
read:jira-work
read:resolution:jira
Connect app scope required: READ
string
RequiredReturned if the request is successful.
Details of an issue resolution.
1
2
3
4
5
6
7
8
9
10
11
12
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/{id}`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
{
"description": "A fix for this issue is checked into the tree and tested.",
"id": "10000",
"name": "Fixed",
"self": "https://your-domain.atlassian.net/rest/api/3/resolution/1"
}
Updates an issue resolution.
Permissions required: Administer Jira global permission.
manage:jira-configuration
Connect app scope required: ADMIN
string
Requiredstring
string
Requiredany
Returned if the request is successful.
any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
var bodyData = `{
"description": "My updated resolution description",
"name": "My updated resolution"
}`;
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/{id}`, {
method: 'PUT',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: bodyData
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
Deletes an issue resolution.
This operation is asynchronous. Follow the location
link in the response to determine the status of the task and use Get task to obtain subsequent updates.
Permissions required: Administer Jira global permission.
manage:jira-configuration
Connect app scope required: ADMIN
string
Requiredstring
RequiredReturned if the request is successful.
Details about a task.
1
2
3
4
5
6
7
8
9
10
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
import api, { route } from "@forge/api";
const response = await api.asUser().requestJira(route`/rest/api/3/resolution/{id}?replaceWith={replaceWith}`, {
method: 'DELETE'
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.text());
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"description": "<string>",
"elapsedRuntime": 48,
"finished": 49,
"id": "<string>",
"lastUpdate": 62,
"message": "<string>",
"progress": 51,
"self": "<string>",
"started": 48,
"status": "ENQUEUED",
"submitted": 50,
"submittedBy": 42
}
Rate this page: