Cloud
Jira Cloud platform / Reference / REST API v3

Project classification levels

This resource represents classification levels used in a project. Use it to view and manage classification levels in your projects.

GET

Get the default data classification level of a projectExperimental

Returns the default data classification for a project.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
ClassicRECOMMENDED:read:jira-work
Granular:read:project:jira

Connect app scope requiredREAD

Request

Path parameters

projectIdOrKey

string

Required

Responses

Returned if the request is successful.

application/json

any

GET/rest/api/3/project/{projectIdOrKey}/classification-level/default
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/project/{projectIdOrKey}/classification-level/default`, { headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
200Response
1 2 3 4 5 6 7 8 9 10 11 { "classification": { "id": "ari:cloud:platform::classification-tag/5bfa70f7-4af1-44f5-9e12-1ce185f15a38", "status": "published", "name": "Restricted", "rank": 1, "description": "Data we hold that would be very damaging and would cause loss of trust with customers and present legal risk if mishandled", "guideline": "Access to data must be restricted to only individuals who need access in order to perform their job duties.", "color": "RED" } }
PUT

Update the default data classification level of a projectExperimental

Updates the default data classification level for a project.

Permissions required:

Data Security Policy: Not exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:write:project:jira

Connect app scope requiredADMIN

Request

Path parameters

projectIdOrKey

string

Required

Request bodyapplication/json

id

string

Required

Responses

Returned if the request is successful.

application/json

any

PUT/rest/api/3/project/{projectIdOrKey}/classification-level/default
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 // This sample uses Atlassian Forge // https://developer.atlassian.com/platform/forge/ import api, { route } from "@forge/api"; var bodyData = `{ "id": "ari:cloud:platform::classification-tag/dec24c48-5073-4c25-8fef-9d81a992c30c" }`; const response = await api.asUser().requestJira(route`/rest/api/3/project/{projectIdOrKey}/classification-level/default`, { method: 'PUT', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: bodyData }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());
DEL

Remove the default data classification level from a projectExperimental

Remove the default data classification level for a project.

Permissions required:

Data Security Policy: Not exempt from app access rules
Scopes
ClassicRECOMMENDED:manage:jira-project
Granular:write:project:jira

Connect app scope requiredADMIN

Request

Path parameters

projectIdOrKey

string

Required

Responses

Returned if the request is successful.

application/json

any

DEL/rest/api/3/project/{projectIdOrKey}/classification-level/default
1 2 3 4 5 6 7 8 9 10 11 12 13 // 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/project/{projectIdOrKey}/classification-level/default`, { method: 'DELETE', headers: { 'Accept': 'application/json' } }); console.log(`Response: ${response.status} ${response.statusText}`); console.log(await response.json());

Rate this page: