forked from MrRefactoring/jira.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissueTransition.ts
58 lines (57 loc) · 2.02 KB
/
issueTransition.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { Scope } from './scope';
/** Details of an issue transition. */
export interface IssueTransition {
/** Expand options that include additional transition details in the response. */
expand?: string;
/**
* Details of the fields associated with the issue transition screen. Use this information to populate `fields` and
* `update` in a transition request.
*/
fields?: {};
/** Whether there is a screen associated with the issue transition. */
hasScreen?: boolean;
/** The ID of the issue transition. Required when specifying a transition to undertake. */
id?: string;
/** Whether the transition is available to be performed. */
isAvailable?: boolean;
/** Whether the issue has to meet criteria before the issue transition is applied. */
isConditional?: boolean;
/** Whether the issue transition is global, that is, the transition is applied to issues regardless of their status. */
isGlobal?: boolean;
/** Whether this is the initial issue transition for the workflow. */
isInitial?: boolean;
looped?: boolean;
/** The name of the issue transition. */
name?: string;
/** A status. */
to?: {
/** The description of the status. */
description?: string;
/** The URL of the icon used to represent the status. */
iconUrl?: string;
/** The ID of the status. */
id?: string;
/** The name of the status. */
name?: string;
/**
* The projects the item is associated with. Indicated for items associated with [next-gen
* projects](https://confluence.atlassian.com/x/loMyO).
*/
scope?: Scope;
/** The URL of the status. */
self?: string;
/** A status category. */
statusCategory?: {
/** The name of the color used to represent the status category. */
colorName?: string;
/** The ID of the status category. */
id?: number;
/** The key of the status category. */
key?: string;
/** The name of the status category. */
name?: string;
/** The URL of the status category. */
self: string;
};
};
}