Jira.js - Jira Cloud API library
    Preparing search index...

    Class Operations

    Index

    Constructors

    Methods

    • Bulk delete all Entries that match the given request.

      One or more query params must be supplied to specify Properties to delete by. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). See the documentation for the submitEntity operation for more details.

      E.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456

      Deletion is performed asynchronously. The getIncidentById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<void>

    • Bulk delete all Entries that match the given request.

      One or more query params must be supplied to specify Properties to delete by. If more than one Property is provided, data will be deleted that matches ALL of the Properties (e.g. treated as an AND). See the documentation for the submitEntity operation for more details.

      E.g. DELETE /bulkByProperties?accountId=account-123&createdBy=user-456

      Deletion is performed asynchronously. The getIncidentById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = unknown

      Parameters

      Returns Promise<T>

    • Delete the Incident data currently stored for the given ID.

      Deletion is performed asynchronously. The getIncidentById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Delete the Incident data currently stored for the given ID.

      Deletion is performed asynchronously. The getIncidentById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Delete the Review data currently stored for the given ID.

      Deletion is performed asynchronously. The getReviewById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Delete the Review data currently stored for the given ID.

      Deletion is performed asynchronously. The getReviewById operation can be used to confirm that data has been deleted successfully (if needed).

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Bulk delete all Operations Workspaces that match the given request.

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      E.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Bulk delete all Operations Workspaces that match the given request.

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'DELETE' scope for Connect apps.

      E.g. DELETE /bulk?workspaceIds=111-222-333,444-555-666

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Retrieve the either all Operations Workspace IDs associated with the Jira site or a specific Operations Workspace ID for the given ID.

      The result will be what is currently stored, ignoring any pending updates or deletes.

      E.g. GET /workspace?workspaceId=111-222-333

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Retrieve the either all Operations Workspace IDs associated with the Jira site or a specific Operations Workspace ID for the given ID.

      The result will be what is currently stored, ignoring any pending updates or deletes.

      E.g. GET /workspace?workspaceId=111-222-333

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

      Type Parameters

      Parameters

      Returns Promise<T>

    • Update / insert Incident or Review data.

      Incidents and reviews are identified by their ID, and existing Incident and Review data for the same ID will be replaced if it exists and the updateSequenceNumber of existing data is less than the incoming data.

      Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. The getIncidentById or getReviewById operation can be used to confirm that data has been stored successfully (if needed).

      In the case of multiple Incidents and Reviews being submitted in one request, each is validated individually prior to submission. Details of which entities failed submission (if any) are available in the response object.

      A maximum of 1000 incidents can be submitted in one request.

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'WRITE' scope for Connect apps.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Update / insert Incident or Review data.

      Incidents and reviews are identified by their ID, and existing Incident and Review data for the same ID will be replaced if it exists and the updateSequenceNumber of existing data is less than the incoming data.

      Submissions are performed asynchronously. Submitted data will eventually be available in Jira; most updates are available within a short period of time, but may take some time during peak load and/or maintenance times. The getIncidentById or getReviewById operation can be used to confirm that data has been stored successfully (if needed).

      In the case of multiple Incidents and Reviews being submitted in one request, each is validated individually prior to submission. Details of which entities failed submission (if any) are available in the response object.

      A maximum of 1000 incidents can be submitted in one request.

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'WRITE' scope for Connect apps.

      Type Parameters

      Parameters

      Returns Promise<T>