jira.js
    Preparing search index...

    Function deleteBuildsByProperty

    • Bulk delete all builds data that match the given request.

      One or more query params must be supplied to specify Properties to delete by. Optional param _updateSequenceNumber is no longer supported. 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 submitBuilds operation for more details.

      E.g. DELETE /bulkByProperties?accountId=account-123&repoId=repo-345

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

      Parameters

      • client: Client
      • parameters: { accountId: string; repoId?: string }
        • accountId: string

          Property key used as a query parameter to select which submitted builds to delete. Must match a key you previously sent in submitBuilds properties (same rules: string values, max 5 properties on submit, keys must not contain ':' or start with '_'). Official docs and OpenAPI description example: accountId=account-123.

        • OptionalrepoId?: string

          Optional additional property filter combined with accountId (AND). Official example: repoId=repo-345 alongside accountId. Must match a key previously supplied in submitBuilds properties.

      • Optionaloptions: RequestOptions

      Returns Promise<void>