Internal
Create a new instance of the service.
Adds levels and levels' members to the issue security scheme. You can add up to 100 levels per request.
Permissions required: Administer Jira global permission.
The ID of the issue security scheme.
Returned if the request is successful.
Adds members to the issue security level. You can add up to 100 members per request.
Permissions required: Administer Jira global permission.
The ID of the issue security level.
The ID of the issue security scheme.
Returned if the request is successful.
Associates an issue security scheme with a project and remaps security levels of issues to the new levels, if provided.
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.
Creates a security scheme with security scheme levels and levels' members. You can create up to 100 security scheme levels and security scheme levels' members per request.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
example:
{
"id": "10001"
}
Deletes an issue security scheme.
Permissions required: Administer Jira global permission.
The ID of the issue security scheme.
Returned if the request is successful.
Returns an issue security scheme along with its security levels.
Permissions required:
The ID of the issue security scheme. Use the Get issue security schemes operation to get a list of issue security scheme IDs.
Returned if the request is successful.
example:
{
"defaultSecurityLevelId": 10021,
"description": "Description for the default issue security scheme",
"id": 10000,
"levels": [
{
"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"
}
],
"name": "Default Issue Security Scheme",
"self": "https://your-domain.atlassian.net/rest/api/3/issuesecurityschemes/10000"
}
Returns all issue security schemes.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
example:
{
"issueSecuritySchemes": [
{
"defaultSecurityLevelId": 10021,
"description": "Description for the default issue security scheme",
"id": 10000,
"name": "Default Issue Security Scheme",
"self": "https://your-domain.atlassian.net/rest/api/3/issuesecurityschemes/10000"
}
]
}
Returns a paginated list of issue security level members.
Only issue security level members in the context of classic projects are returned.
Filtering using parameters is inclusive: if you specify both security scheme IDs and level IDs, the result will include all issue security level members from the specified schemes and levels.
Permissions required: Administer Jira global permission.
Optional
expand?: stringUse expand to include additional information in the response. This parameter accepts a comma-separated list. Expand options include:
all
Returns all expandable informationfield
Returns information about the custom field granted the permissiongroup
Returns information about the group that is granted the permissionprojectRole
Returns information about the project role granted the
permissionuser
Returns information about the user who is granted the permissionOptional
id?: string[]The list of issue security level member IDs. To include multiple issue security
level members separate IDs with an ampersand: id=10000&id=10001
.
Optional
levelThe list of issue security level IDs. To include multiple issue security levels
separate IDs with an ampersand: levelId=10000&levelId=10001
.
Optional
maxThe maximum number of items to return per page.
Optional
schemeThe list of issue security scheme IDs. To include multiple issue security
schemes separate IDs with an ampersand: schemeId=10000&schemeId=10001
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 100,
"startAt": 0,
"total": 3,
"values": [
{
"id": "10000",
"issueSecurityLevelId": "20010",
"issueSecuritySchemeId": "10010",
"holder": {
"expand": "group",
"type": "group"
}
}
]
}
Returns a paginated list of issue security levels.
Only issue security levels in the context of classic projects are returned.
Filtering using IDs is inclusive: if you specify both security scheme IDs and level IDs, the result will include both specified issue security levels and all issue security levels from the specified schemes.
Permissions required: Administer Jira global permission.
Optional
id?: string[]The list of issue security scheme level IDs. To include multiple issue security
levels, separate IDs with an ampersand: id=10000&id=10001
.
Optional
maxThe maximum number of items to return per page.
Optional
onlyWhen set to true, returns multiple default levels for each security scheme containing a default. If you provide scheme and level IDs not associated with the default, returns an empty page. The default value is false.
Optional
schemeThe list of issue security scheme IDs. To include multiple issue security
schemes, separate IDs with an ampersand: schemeId=10000&schemeId=10001
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 50,
"startAt": 0,
"total": 1,
"values": [
{
"description": "Only the reporter and internal staff can see this issue.",
"id": "10021",
"isDefault": true,
"issueSecuritySchemeId": "10001",
"name": "Reporter Only",
"self": "https://your-domain.atlassian.net/rest/api/3/issuesecurityscheme/level?id=10021"
}
]
}
Deletes an issue security level.
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.
The ID of the issue security level to remove.
Optional
replaceThe ID of the issue security level that will replace the currently selected level.
The ID of the issue security scheme.
Removes an issue security level member from an issue security scheme.
Permissions required: Administer Jira global permission.
The ID of the issue security level.
The ID of the issue security level member to be removed.
The ID of the issue security scheme.
Returned if the request is successful.
Returns a paginated mapping of projects that are using security schemes. You can provide either one or multiple security scheme IDs or project IDs to filter by. If you don't provide any, this will return a list of all mappings. Only issue security schemes in the context of classic projects are supported. Permissions required: Administer Jira global permission.
Optional
issueThe list of security scheme IDs to be filtered out.
Optional
maxThe maximum number of items to return per page.
Optional
projectThe list of project IDs to be filtered out.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"issueSecuritySchemeId": "10000",
"projectId": "10000"
}
Returns a paginated list of issue security schemes. If you specify the project ID parameter, the result will contain issue security schemes and related project IDs you filter by. Use {@link IssueSecuritySchemeResource#searchProjectsUsingSecuritySchemes(String, String, Set, Set)} to obtain all projects related to scheme.
Only issue security schemes in the context of classic projects are returned.
Permissions required: Administer Jira global permission.
Optional
id?: string[]The list of issue security scheme IDs. To include multiple issue security
scheme IDs, separate IDs with an ampersand: id=10000&id=10001
.
Optional
maxThe maximum number of items to return per page.
Optional
projectThe list of project IDs. To include multiple project IDs, separate IDs with an
ampersand: projectId=10000&projectId=10001
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"id": 10000,
"self": "https://your-domain.atlassian.net/rest/api/3/issuesecurityscheme/10000",
"name": "Default scheme",
"description": "Default scheme description",
"defaultLevel": 10001,
"projectIds": [
10002
]
}
Sets default issue security levels for schemes.
Permissions required: Administer Jira global permission.
Returned if the request is successful.
Updates the issue security scheme.
Permissions required: Administer Jira global permission.
The ID of the issue security scheme.
Returned if the request is successful.
Updates the issue security level.
Permissions required: Administer Jira global permission.
The ID of the issue security level to update.
The ID of the issue security scheme level belongs to.
Returned if the request is successful.
Protected
Static
initialize
This resource represents issue security schemes. Use it to get an issue security scheme or a list of issue security schemes.
Issue security schemes control which users or groups of users can view an issue. When an issue security scheme is associated with a project, its security levels can be applied to issues in that project. Sub-tasks also inherit the security level of their parent issue.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-security-schemes