jira.js
    Preparing search index...

    Function moveVersion

    • Modify a version's sequence within a project. The move version bean has 2 alternative field value pairs:

      • Position: An absolute position, which may have a value of 'First', 'Last', 'Earlier' or 'Later'
      • After: A version to place this version after. The value should be the self link of another version

      Parameters

      • client: Client
      • parameters: {
            after?: string;
            id: string;
            position?: string & {} | "Earlier" | "Later" | "First" | "Last";
        }
        • Optionalafter?: string
        • id: string

          ID of the version.

        • Optionalposition?: string & {} | "Earlier" | "Later" | "First" | "Last"
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              archived?: boolean;
              description?: string;
              expand?: string;
              id?: string;
              moveUnfixedIssuesTo?: string;
              name?: string;
              overdue?: boolean;
              project?: string;
              projectId?: number;
              released?: boolean;
              releaseDate?: Date;
              releaseDateSet?: boolean;
              self?: string;
              startDate?: Date;
              startDateSet?: boolean;
              userReleaseDate?: string;
              userStartDate?: string;
              [key: string]: unknown;
          },
      >