Fetches the components defined in this project.
GET /rest/api/latest/project/{projectIdOrKey}/components
An array of project components
Fetches the project details.
GET /rest/api/latest/project/{projectIdOrKey}
Optionalparams: ProjectsParamsOptional: expand
The project object
Fetches a single role by ID, including the list of actors.
GET /rest/api/latest/project/{projectIdOrKey}/role/{id}
The numeric role ID
The project role object with actors
Fetches the roles defined in this project.
GET /rest/api/latest/project/{projectIdOrKey}/role
A record mapping role names to their resource URLs
Fetches the statuses available in this project, grouped by issue type.
GET /rest/api/latest/project/{projectIdOrKey}/statuses
An array of issue type → statuses mappings
Allows the resource to be awaited directly, resolving with the project. Delegates to ProjectResource.get.
Optionalonfulfilled: null | (value: JiraProject) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>Fetches the versions defined in this project.
GET /rest/api/latest/project/{projectIdOrKey}/versions
Optionalexpand: stringOptional: 'operations'
An array of project versions
Represents a Jira project resource with chainable async methods.
Implements
PromiseLike<JiraProject>so it can be awaited directly to fetch the project, while also exposing sub-resource methods.Example