Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get issue security scheme for project

Returns the issue security scheme for project.

GET/api/2/project/{projectKeyOrId}/issuesecuritylevelscheme
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
projectKeyOrIdstringrequired

The project id or project key

Responses
200

Issue security scheme

defaultSecurityLevelIdinteger<int64>
descriptionstring
idinteger<int64>
levelsSecurityLevelJsonBean[]
Show properties
Array of SecurityLevelJsonBean
descriptionstring
idstring
namestring
selfstring
namestring
selfstring
401

Returned if the user is not logged in.

403

Returned if the project is visible for calling user, but the user doesn't have administrative permissions

404

Returned if the project does not exist, or is not visible to the calling user

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/issuesecuritylevelscheme' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "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"
}

Was this page helpful?