A Jira project component.

interface JiraComponent {
    assignee?: JiraUser;
    assigneeType?:
        | "PROJECT_DEFAULT"
        | "COMPONENT_LEAD"
        | "PROJECT_LEAD"
        | "UNASSIGNED";
    description?: string;
    id?: string;
    isAssigneeTypeValid?: boolean;
    lead?: JiraUser;
    name: string;
    project?: string;
    projectId?: number;
    realAssignee?: JiraUser;
    realAssigneeType?: string;
    self?: string;
}

Properties

assignee?: JiraUser

The auto-assigned user for this component

assigneeType?:
    | "PROJECT_DEFAULT"
    | "COMPONENT_LEAD"
    | "PROJECT_LEAD"
    | "UNASSIGNED"

Assignee type for issues created with this component

description?: string

Component description

id?: string

Numeric string ID

isAssigneeTypeValid?: boolean

Whether the component is enabled

lead?: JiraUser

The user designated as the component lead

name: string

Component name

project?: string

Project key this component belongs to

projectId?: number

Project ID this component belongs to

realAssignee?: JiraUser

The real assignee for this component

realAssigneeType?: string

Whether the real assignee is enabled

self?: string

URL of the component resource