UNPKG

@esm-js/jira.js

Version:

A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.

27 lines (26 loc) 1.07 kB
/** A webhook. */ export interface Webhook { /** The Jira events that trigger the webhook. */ events: string[]; /** * The date after which the webhook is no longer sent. Use [Extend webhook * life](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-webhooks/#api-rest-api-2-webhook-refresh-put) * to extend the date. */ expirationDate?: number; /** * A list of field IDs. When the issue changelog contains any of the fields, the webhook `jira:issue_updated` is sent. * If this parameter is not present, the app is notified about all field updates. */ fieldIdsFilter?: string[]; /** The ID of the webhook. */ id: number; /** * A list of issue property keys. A change of those issue properties triggers the `issue_property_set` or * `issue_property_deleted` webhooks. If this parameter is not present, the app is notified about all issue property * updates. */ issuePropertyKeysFilter?: string[]; /** The JQL filter that specifies which issues the webhook is sent for. */ jqlFilter: string; }