UNPKG

@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.

24 lines (22 loc) 954 B
import type { ProjectCreateResourceIdentifier } from './projectCreateResourceIdentifier'; /** The payload for creating an issue type */ export interface IssueTypePayload { /** * The avatar ID of the issue type. Go to * https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-avatars/#api-rest-api-3-avatar-type-system-get * to choose an avatarId existing in Jira */ avatarId?: number; /** The description of the issue type */ description?: string; /** The hierarchy level of the issue type. 0, 1, 2, 3 .. n; Negative values for subtasks */ hierarchyLevel?: number; /** The name of the issue type */ name?: string; /** * The conflict strategy to use when the issue type already exists. FAIL - Fail execution, this always needs to be * unique; USE - Use the existing entity and ignore new entity parameters */ onConflict?: 'FAIL' | 'USE' | 'NEW' | string; pcri?: ProjectCreateResourceIdentifier; }