Returns all issue security schemes that are defined.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns a list of all available issue security schemes.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuesecurityschemes' \
--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
{
"issueSecuritySchemes": [
{
"defaultSecurityLevelId": 10001,
"description": "This is a security scheme",
"id": 10000,
"levels": [
{
"description": "This is a security level",
"id": "10000",
"name": "My Security Level",
"self": "http://www.example.com/jira/rest/api/2/securitylevel/10000"
}
],
"name": "My Security Scheme",
"self": "http://www.example.com/jira/rest/api/2/issuesecurityschemes/10000"
}
]
}Returns the issue security scheme along with that are defined.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturns the issue security scheme with the given id.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/issuesecurityschemes/{id}' \
--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
{
"defaultSecurityLevelId": 10001,
"description": "This is a security scheme",
"id": 10000,
"levels": [
{
"description": "This is a security level",
"id": "10000",
"name": "My Security Level",
"self": "http://www.example.com/jira/rest/api/2/securitylevel/10000"
}
],
"name": "My Security Scheme",
"self": "http://www.example.com/jira/rest/api/2/issuesecurityschemes/10000"
}Rate this page: