Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Update version details

Updates a version.

PUT/api/2/version/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idstringrequired

ID of the version.

Request body
requiredapplication/json

JSON containing parameters to update the version with

archivedboolean
descriptionstring
expandstring
idstring
moveUnfixedIssuesTostring<uri>
namestring
overdueboolean
projectstring
projectIdinteger<int64>
releaseDatestring<date-time>
releaseDateSetboolean
releasedboolean
selfstring<uri>
startDatestring<date-time>
startDateSetboolean
userReleaseDatestring
userStartDatestring
Responses
200

Returned if the version is successfully updated.

403

Returned if the currently authenticated user does not have permission to edit the version.

404

Returned if the version does not exist.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/version/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "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"
}'
Response
Returned if the version is successfully updated.

Was this page helpful?