@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
27 lines (25 loc) • 1.01 kB
text/typescript
import type { UpdateProjectDetails } from '../models';
export interface UpdateProject extends UpdateProjectDetails {
/** The project ID or project key (case-sensitive). */
projectIdOrKey: string | number;
projectTypeKey?: string;
projectTemplateKey?: string;
/**
* Use [expand](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#expansion) to include additional
* information in the response. This parameter accepts a comma-separated list. Note that the project description,
* issue types, and project lead are included in all responses by default. Expand options include:
*
* - `description` The project description.
* - `issueTypes` The issue types associated with the project.
* - `lead` The project lead.
* - `projectKeys` All project keys associated with the project.
*/
expand?:
| 'description'
| 'issueTypes'
| 'lead'
| 'projectKeys'
| ('description' | 'issueTypes' | 'lead' | 'projectKeys')[]
| string
| string[];
}