UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

80 lines (79 loc) 2.59 kB
/** * Service Desk Public REST API * Public REST API for Jira Service Desk * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { FieldMetadata, StatusDetails } from './'; /** * Details of an issue transition. * @export * @interface IssueTransition */ export interface IssueTransition { [key: string]: object | any; /** * The ID of the issue transition. Required when specifying a transition to undertake. * @type {string} * @memberof IssueTransition */ id?: string; /** * The name of the issue transition. * @type {string} * @memberof IssueTransition */ readonly name?: string; /** * Details of the issue status after the transition. * @type {StatusDetails} * @memberof IssueTransition */ readonly to?: StatusDetails; /** * Indicates whether there is a screen associated with the issue transition. * @type {boolean} * @memberof IssueTransition */ readonly hasScreen?: boolean; /** * Indicates whether the issue transition is global, that is, the transition is applied to issues regardless of their status. * @type {boolean} * @memberof IssueTransition */ readonly isGlobal?: boolean; /** * Indicates whether this is the initial issue transition for the workflow. * @type {boolean} * @memberof IssueTransition */ readonly isInitial?: boolean; /** * Indicates whether the issue has to meet certain criteria before the issue transition is applied. * @type {boolean} * @memberof IssueTransition */ readonly isConditional?: boolean; /** * Details of the fields associated with the issue transition screen. Use this information to populate `fields` and `update` in a transition request. * @type {{ [key: string]: FieldMetadata; }} * @memberof IssueTransition */ readonly fields?: { [key: string]: FieldMetadata; }; /** * Expand options that include additional transition details in the response. * @type {string} * @memberof IssueTransition */ readonly expand?: string; } export declare function IssueTransitionFromJSON(json: any): IssueTransition; export declare function IssueTransitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): IssueTransition; export declare function IssueTransitionToJSON(value?: IssueTransition): any;