---
ai:
  exclude: true
search:
  tags:
    - version
    - POST
seo:
  description: >-
    Modify a version's sequence within a project.… Reference for the POST
    /api/2/version/{id}/move endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Modify version's sequence
  badge: POST
title: Modify version's sequence
type: openapi-operation
---
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

`POST /api/2/version/{id}/move`

**Request body** (`application/json`, required)

JSON containing parameters to move the version with

- `after` (string<uri>)
- `position` (string)

Request body example:

```json
{
  "after": "http://localhost:8090/jira/rest/api/2/version/10000",
  "position": "Earlier"
}
```

**Responses**

- `200` — Returned if the version is successfully moved.
- `403` — Returned if the currently authenticated user does not have permission to move the version.
- `404` — Returned if the version does not exist or the currently authenticated user does not have permission to view it.

Response example, 200:

```json
{
  "archived": false,
  "description": "An excellent version",
  "expand": "10000",
  "id": "10000",
  "moveUnfixedIssuesTo": "http://localhost:8090/jira/rest/api/2/version/10000/move",
  "name": "New Version 1",
  "overdue": true,
  "project": "PXA",
  "projectId": 10000,
  "releaseDate": "2019-08-24T14:15:22Z",
  "releaseDateSet": false,
  "released": true,
  "self": "http://localhost:8090/jira/rest/api/2/version/10000",
  "startDate": "2019-08-24T14:15:22Z",
  "startDateSet": false,
  "userReleaseDate": "2012-09-15T21:11:01.834+0000",
  "userStartDate": "2012-08-15T21:11:01.834+0000"
}
```
