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

Modifies the version's sequence within the project, which affects the display order of the versions in Jira.

This operation can be accessed anonymously.

Permissions required: Browse projects project permission for the project that contains the version.

Servers

Path parameters

Name Type Required Description
id String Yes

The ID of the version to be moved.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
after String No

The URL (self link) of the version after which to place the moved version. Cannot be used with position.

position String No

An absolute position in which to place the moved version. Cannot be used with after.

Possible values:

  • "First"
  • "Later"
  • "Earlier"
  • "Last"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.