forked from MrRefactoring/jira.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversion.ts
36 lines (36 loc) · 1.27 KB
/
version.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
/** Details about a project version. */
export interface Version {
/** The URL of the version. */
self?: string;
/** The ID of the version. */
id?: string;
/** The description of the version. Optional when creating or updating a version. */
description?: string;
/**
* The unique name of the version. Required when creating a version. Optional when updating a version. The maximum
* length is 255 characters.
*/
name?: string;
/** Indicates that the version is archived. Optional when creating or updating a version. */
archived?: boolean;
/**
* Indicates that the version is released. If the version is released a request to release again is ignored. Not
* applicable when creating a version. Optional when updating a version.
*/
released?: boolean;
/**
* The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a
* version.
*/
startDate?: string;
/**
* The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a
* version.
*/
releaseDate?: string;
/**
* The ID of the project to which this version is attached. Required when creating a version. Not applicable when
* updating a version.
*/
projectId?: number;
}