Jira.js - Jira Cloud API library
    Preparing search index...

    Class Status

    Index

    Constructors

    Methods

    • Creates statuses for a global or project scope.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      Returns Promise<void>

    • Creates statuses for a global or project scope.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      Returns Promise<T>

    • Returns a list of the statuses specified by one or more status IDs.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      Returns Promise<void>

    • Returns a list of the statuses specified by one or more status IDs.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      Returns Promise<T>

    • Returns a list of the statuses specified by one or more status names.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      • parameters: { name: string[]; projectId?: string }
        • name: string[]

          The list of status names.

          Min items 1, Max items 50

        • OptionalprojectId?: string

          The project the status is part of or null for global statuses.

      • callback: Callback<T>

      Returns Promise<void>

    • Returns a list of the statuses specified by one or more status names.

      Permissions required:

      Type Parameters

      • T = {
            description: string;
            id: string;
            name: string;
            scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
            statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
            usages?: { issueTypes?: string[]; project?: { id: string } };
        }[]

      Parameters

      • parameters: { name: string[]; projectId?: string }
        • name: string[]

          The list of status names.

          Min items 1, Max items 50

        • OptionalprojectId?: string

          The project the status is part of or null for global statuses.

      • Optionalcallback: undefined

      Returns Promise<T>

    • Returns a paginated list of statuses that match a search on name or project.

      Permissions required:

      Type Parameters

      • T = {
            isLast: boolean;
            maxResults: number;
            self: string;
            startAt: number;
            total: number;
            values: {
                description: string;
                id: string;
                name: string;
                scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
                statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
                usages?: { issueTypes?: string[]; project?: { id: string } };
            }[];
        }

      Parameters

      Returns Promise<void>

    • Returns a paginated list of statuses that match a search on name or project.

      Permissions required:

      Type Parameters

      • T = {
            isLast: boolean;
            maxResults: number;
            self: string;
            startAt: number;
            total: number;
            values: {
                description: string;
                id: string;
                name: string;
                scope: { project?: { id: string }; type: "PROJECT" | "GLOBAL" };
                statusCategory: "TODO" | "IN_PROGRESS" | "DONE";
                usages?: { issueTypes?: string[]; project?: { id: string } };
            }[];
        }

      Parameters

      Returns Promise<T>