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.

36 lines (34 loc) 1.32 kB
import type { Fields } from './fields'; import type { IncludedFields } from './includedFields'; import type { IssueTransition } from './issueTransition'; import type { IssueUpdateMetadata } from './issueUpdateMetadata'; import type { Operations } from './operations'; import type { PageOfChangelogs } from './pageOfChangelogs'; /** Details about an issue. */ export interface Issue { /** Expand options that include additional issue details in the response. */ expand?: string; /** The ID of the issue. */ id: string; /** The URL of the issue details. */ self?: string; /** The key of the issue. */ key: string; /** The rendered value of each field present on the issue. */ renderedFields?: Fields; /** Details of the issue properties identified in the request. */ properties?: unknown; /** The ID and name of each field present on the issue. */ names?: Record<string, string>; /** The schema describing each field present on the issue. */ schema?: unknown; /** The transitions that can be performed on the issue. */ transitions?: IssueTransition[]; operations?: Operations; editmeta?: IssueUpdateMetadata; changelog?: PageOfChangelogs; /** The versions of each field on the issue. */ versionedRepresentations?: unknown; fieldsToInclude?: IncludedFields; fields: Fields; }