/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { SimpleLink, VersionIssuesStatus } from './'; /** * Details about a project version. * @export * @interface Version */ export interface Version { /** * The date on which work on this version is expected to start, expressed in the instance\'s *Day/Month/Year Format* date format. * @type {string} * @memberof Version */ readonly userStartDate?: string; /** * The URL of the version. * @type {string} * @memberof Version */ readonly self?: string; /** * If the expand option `operations` is used, returns the list of operations available for this version. * @type {Array} * @memberof Version */ readonly operations?: Array; /** * The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. * @type {Date} * @memberof Version */ startDate?: Date; /** * The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters. * @type {string} * @memberof Version */ name?: string; /** * Use [expand](em>#expansion) to include additional information about version in the response. This parameter accepts multiple values separated by a comma: * `operations` Returns the list of operations available for this version. * `issuesstatus` Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property contains a count of issues with a status other than *to do*, *in progress*, and *done*. Optional for create and update. * @type {string} * @memberof Version */ expand?: string; /** * The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version. * @type {number} * @memberof Version */ projectId?: number; /** * The date on which work on this version is expected to finish, expressed in the instance\'s *Day/Month/Year Format* date format. * @type {string} * @memberof Version */ readonly userReleaseDate?: string; /** * Deprecated. Use `projectId`. * @type {string} * @memberof Version */ project?: string; /** * If the expand option `issuesstatus` is used, returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*. The *unmapped* property contains a count of issues with a status other than *to do*, *in progress*, and *done*. * @type {VersionIssuesStatus} * @memberof Version */ readonly issuesStatusForFixVersion?: VersionIssuesStatus; /** * The URL of the self link to the version to which all unfixed issues are moved when a version is released. Not applicable when creating a version. Optional when updating a version. * @type {string} * @memberof Version */ moveUnfixedIssuesTo?: string; /** * The ID of the version. * @type {string} * @memberof Version */ readonly id?: string; /** * 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. * @type {boolean} * @memberof Version */ released?: boolean; /** * Indicates that the version is overdue. * @type {boolean} * @memberof Version */ readonly overdue?: boolean; /** * The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version. * @type {Date} * @memberof Version */ releaseDate?: Date; /** * The description of the version. Optional when creating or updating a version. * @type {string} * @memberof Version */ description?: string; /** * Indicates that the version is archived. Optional when creating or updating a version. * @type {boolean} * @memberof Version */ archived?: boolean; } export declare function VersionFromJSON(json: any): Version; export declare function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Version; export declare function VersionToJSON(value?: Version): any;