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

    Class ProjectVersions

    Index

    Constructors

    Methods

    • Deletes a project version.

      Alternative versions can be provided to update issues that use the deleted version in fixVersion, affectedVersion, or any version picker custom fields. If alternatives are not provided, occurrences of fixVersion, affectedVersion, and any version picker custom field, that contain the deleted version, are cleared. Any replacement version must be in the same project as the version being deleted and cannot be the version being deleted.

      This operation can be accessed anonymously.

      Permissions required: Administer Jira global permission or Administer Projects project permission for the project that contains the version.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Deletes a project version.

      Alternative versions can be provided to update issues that use the deleted version in fixVersion, affectedVersion, or any version picker custom fields. If alternatives are not provided, occurrences of fixVersion, affectedVersion, and any version picker custom field, that contain the deleted version, are cleared. Any replacement version must be in the same project as the version being deleted and cannot be the version being deleted.

      This operation can be accessed anonymously.

      Permissions required: Administer Jira global permission or Administer Projects project permission for the project that contains the version.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>