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

Hierarchy

  • CommonHttpService
    • ProjectClassificationLevelsService

Constructors

Methods

  • Returns the default data classification for a project.

    Permissions required:

    Parameters

    • params: {
          projectIdOrKey: string;
      }
      • projectIdOrKey: string

        The project ID or project key (case-sensitive).

    Returns Promise<unknown>

    Returned if the request is successful.

    example:

    {
    "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"
    }
    }

    GET /rest/api/3/project/{projectIdOrKey}/classification-level/default @scopes-current read:jira-work @scopes-beta read:project:jira

  • Method to initialize the class. Normally used to set up validation rules.

    Returns void