This resource represents issue security levels. Use it to obtain the details of any issue security level. For more information about issue security levels, see Configuring issue-level security.
Returns issue security level members.
Only issue security level members in context of classic projects are returned.
Permissions required: Administer Jira global permission.
manage:jira-configuration
read:field:jira
, read:issue-security-level:jira
, read:project-role:jira
, read:user:jira
Connect app scope required: ADMIN
integer
Requiredinteger
integer
array<string>
string
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/issuesecurityschemes/{issueSecuritySchemeId}/members`, {
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
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
{
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 3,
"values": [
{
"id": 10000,
"issueSecurityLevelId": 10020,
"holder": {
"expand": "user",
"type": "user",
"user": {
"accountId": "5b10a2844c20165700ede21g",
"active": true,
"avatarUrls": {
"16x16": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"24x24": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
"32x32": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
"48x48": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
},
"displayName": "Mia Krystof",
"emailAddress": "mia@example.com",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"timeZone": "Australia/Sydney"
}
}
},
{
"id": 10001,
"issueSecurityLevelId": 10020,
"holder": {
"expand": "group",
"parameter": "jira-core-users",
"type": "group",
"value": "9c559b11-6c5d-4f96-992c-a746cabab28b"
}
},
{
"id": 10002,
"issueSecurityLevelId": 10021,
"holder": {
"type": "assignee"
}
}
]
}
Returns details of an issue security level.
Use Get issue security scheme to obtain the IDs of issue security levels associated with the issue security scheme.
This operation can be accessed anonymously.
Permissions required: None.
manage:jira-configuration
read:field:jira
, read:issue-security-level:jira
, read:project-role:jira
, read:user:jira
Connect app scope required: PROJECT_ADMIN
string
RequiredReturned if the request is successful.
Details of an issue level security item.
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/securitylevel/{id}`, {
headers: {
'Accept': 'application/json'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.json());
1
2
3
4
5
6
{
"description": "Only the reporter and internal staff can see this issue.",
"id": "10021",
"name": "Reporter Only",
"self": "https://your-domain.atlassian.net/rest/api/3/securitylevel/10021"
}
Rate this page: