jira.js
    Preparing search index...

    Function getAllVersions

    • Returns all versions from a board, for a given board ID. This only includes versions that the user has permission to view. Note, if the user does not have permission to view the board, no versions will be returned at all. Returned versions are ordered by the name of the project from which they belong and then by sequence defined by user.

      Parameters

      • client: Client
      • parameters: { boardId: number; maxResults?: number; released?: string; startAt?: number }
        • boardId: number

          The ID of the board that contains the requested versions.

        • OptionalmaxResults?: number

          The maximum number of versions to return per page. See the 'Pagination' section at the top of this page for more details.

        • Optionalreleased?: string

          Filters results to versions that are either released or unreleased. Valid values: true, false.

        • OptionalstartAt?: number

          The starting index of the returned versions. Base index: 0. See the 'Pagination' section at the top of this page for more details.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isLast?: boolean;
              maxResults?: number;
              startAt?: number;
              total?: number;
              values?: {
                  archived?: boolean;
                  description?: string;
                  id?: number;
                  name?: string;
                  projectId?: number;
                  released?: boolean;
                  releaseDate?: string;
                  self?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >