Skip to content

Interface: VersionWebhookPayload ​

Defined in: src/webhooks/payloads.ts:142

A version changed. Undocumented; version is named after the entity.

Extends ​

Properties ​

matchedWebhookIds? ​

ts
optional matchedWebhookIds?: number[];

Defined in: src/webhooks/payloads.ts:59

The registrations this delivery answered. Present only on a webhook registered through the REST API, where one event can match several of them at once.

Inherited from ​

WebhookPayloadBase.matchedWebhookIds


timestamp ​

ts
timestamp: number;

Defined in: src/webhooks/payloads.ts:50

When Jira raised the event, in milliseconds since the epoch.

Inherited from ​

WebhookPayloadBase.timestamp


version? ​

ts
optional version?: object;

Defined in: src/webhooks/payloads.ts:144

Index Signature ​

ts
[key: string]: unknown

approvers? ​

ts
optional approvers?: object[];

If the expand option approvers is used, returns a list containing the approvers for this version.

Index Signature ​
ts
[key: string]: unknown

archived? ​

ts
optional archived?: boolean;

Indicates that the version is archived. Optional when creating or updating a version.

description? ​

ts
optional description?: string;

The description of the version. Optional when creating or updating a version. The maximum size is 16,384 bytes.

driver? ​

ts
optional driver?: string;

The Atlassian account ID of the version driver. Optional when creating or updating a version. If the expand option driver is used, returns the Atlassian account ID of the driver.

expand? ​

ts
optional expand?: string;

Use expand to include additional information about version in the response. This parameter accepts a comma-separated list. Expand options include:

  • 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.
  • driver Returns the Atlassian account ID of the version driver.
  • approvers Returns a list containing approvers for this version.

Optional for create and update.

id? ​

ts
optional id?: string;

The ID of the version.

issuesStatusForFixVersion? ​

ts
optional issuesStatusForFixVersion?: object;
Index Signature ​
ts
[key: string]: unknown
issuesStatusForFixVersion.done? ​
ts
optional done?: number;

Count of issues with status done.

issuesStatusForFixVersion.inProgress? ​
ts
optional inProgress?: number;

Count of issues with status in progress.

issuesStatusForFixVersion.toDo? ​
ts
optional toDo?: number;

Count of issues with status to do.

issuesStatusForFixVersion.unmapped? ​
ts
optional unmapped?: number;

Count of issues with a status other than to do, in progress, and done.

moveUnfixedIssuesTo? ​

ts
optional moveUnfixedIssuesTo?: string;

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.

name? ​

ts
optional name?: string;

The unique name of the version. Required when creating a version. Optional when updating a version. The maximum length is 255 characters.

operations? ​

ts
optional operations?: object[];

If the expand option operations is used, returns the list of operations available for this version.

Index Signature ​
ts
[key: string]: unknown

overdue? ​

ts
optional overdue?: boolean;

Indicates that the version is overdue.

projectId? ​

ts
optional projectId?: number;

The ID of the project to which this version is attached. Required when creating a version. Not applicable when updating a version.

released? ​

ts
optional released?: 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.

releaseDate? ​

ts
optional releaseDate?: string;

The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.

self? ​

ts
optional self?: string;

The URL of the version.

startDate? ​

ts
optional startDate?: string;

The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd). Optional when creating or updating a version.

userReleaseDate? ​

ts
optional userReleaseDate?: string;

The date on which work on this version is expected to finish, expressed in the instance's Day/Month/Year Format date format.

userStartDate? ​

ts
optional userStartDate?: string;

The date on which work on this version is expected to start, expressed in the instance's Day/Month/Year Format date format.


webhookEvent ​

ts
webhookEvent: VersionWebhookEvent;

Defined in: src/webhooks/payloads.ts:143

The event, and the field to switch on.

Overrides ​

WebhookPayloadBase.webhookEvent