{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Project Permission Schemes API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Project Permission Schemes",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Get Project Issue Security Scheme",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/project/:projectKeyOrId/issuesecuritylevelscheme",
"params": [
{
"name": "projectKeyOrId",
"value": "",
"type": "path",
"description": "The project ID or project key (case sensitive)."
}
]
},
"docs": "Returns the [issue security scheme](https://confluence.atlassian.com/x/J4lKLg) associated with the project.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) or the *Administer Projects* [project permission](https://confluence.atlassian.com/x/yodKLg)."
},
{
"info": {
"name": "Atlassian Get Assigned Permission Scheme",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/project/:projectKeyOrId/permissionscheme",
"params": [
{
"name": "projectKeyOrId",
"value": "",
"type": "path",
"description": "The project ID or project key (case sensitive)."
},
{
"name": "expand",
"value": "",
"type": "query",
"description": "Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include:\n\n * `all` Returns all expandable information.\n * `field` Returns information about the custom field granted the permission.\n * `group` Returns information about the group that is granted the permission.\n * `permissions` Returns all permission grants for each permission scheme.\n * `projectRole` Returns information about the project role granted the permission.\n * `user` Returns information about the user who is granted the permission."
}
]
},
"docs": "Gets the [permission scheme](https://confluence.atlassian.com/x/yodKLg) associated with the project.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) or *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg)."
},
{
"info": {
"name": "Atlassian Assign Permission Scheme",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/rest/api/3/project/:projectKeyOrId/permissionscheme",
"params": [
{
"name": "projectKeyOrId",
"value": "",
"type": "path",
"description": "The project ID or project key (case sensitive)."
},
{
"name": "expand",
"value": "",
"type": "query",
"description": "Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include:\n\n * `all` Returns all expandable information.\n * `field` Returns information about the custom field granted the permission.\n * `group` Returns information about the group that is granted the permission.\n * `permissions` Returns all permission grants for each permission scheme.\n * `projectRole` Returns information about the project role granted the permission.\n * `user` Returns information about the user who is granted the permission."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Assigns a permission scheme with a project. See [Managing project permissions](https://confluence.atlassian.com/x/yodKLg) for more information about permission schemes.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)"
},
{
"info": {
"name": "Atlassian Get Project Issue Security Levels",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/project/:projectKeyOrId/securitylevel",
"params": [
{
"name": "projectKeyOrId",
"value": "",
"type": "path",
"description": "The project ID or project key (case sensitive)."
}
]
},
"docs": "Returns all [issue security](https://confluence.atlassian.com/x/J4lKLg) levels for the project that the user has access to.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** *Browse projects* [global permission](https://confluence.atlassian.com/x/x4dKLg) for the project, however, issue security levels are only returned for authenticated user with *Set Issue Security* [global permission](https://confluence.atlassian.com/x/x4dKLg) for the project."
}
]
}
],
"bundled": true
}