A Jira project.

interface JiraProject {
    assigneeType?: "PROJECT_LEAD" | "UNASSIGNED";
    avatarUrls?: Record<string, string>;
    components?: JiraComponent[];
    description?: string;
    email?: string;
    id: string;
    isPrivate?: boolean;
    issueTypes?: JiraIssueType[];
    key: string;
    lead?: JiraUser;
    links?: Record<string, unknown>;
    name: string;
    projectTypeKey?: string;
    roles?: Record<string, string>;
    self: string;
    simplified?: boolean;
    url?: string;
    versions?: JiraVersion[];
}

Properties

assigneeType?: "PROJECT_LEAD" | "UNASSIGNED"

Assignee type for new issues

avatarUrls?: Record<string, string>

Avatar URLs keyed by size

components?: JiraComponent[]

Components defined in this project

description?: string

Project description

email?: string

Email used for email-to-issue

id: string

Numeric string ID

isPrivate?: boolean

Whether issues in the project can be viewed by anonymous users

issueTypes?: JiraIssueType[]

Issue types available in this project

key: string

Project key (e.g. 'PROJ')

lead?: JiraUser

Project lead

links?: Record<string, unknown>

Project links

name: string

Project name

projectTypeKey?: string

Project type key (e.g. 'software', 'business', 'service_desk')

roles?: Record<string, string>

Project roles keyed by role name, values are role URLs

self: string

URL of the project resource

simplified?: boolean

Whether this is a simplified (next-gen) project

url?: string

Project URL (homepage)

versions?: JiraVersion[]

Versions defined in this project