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.

26 lines (25 loc) 1.09 kB
/** A list of webhooks. */ export interface WebhookDetails { /** The Jira events that trigger the webhook. */ events: string[]; /** * 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[]; /** * 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. Only a subset of JQL can be used. The supported * elements are: * * Fields: `issueKey`, `project`, `issuetype`, `status`, `assignee`, `reporter`, `issue.property`, and `cf[id]`. For * custom fields (`cf[id]`), only the epic label custom field is supported.". Operators: `=`, `!=`, `IN`, and `NOT * IN`. */ jqlFilter: string; }