Modify version's sequence
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}/moveAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
idstringrequiredID of the version.
Request body
requiredapplication/jsonJSON containing parameters to move the version with
afterstring<uri>positionstringAllowed:
EarlierLaterFirstLastResponses
200
Returned if the version is successfully moved.
archivedbooleandescriptionstringexpandstringidstringmoveUnfixedIssuesTostring<uri>namestringoverduebooleanprojectstringprojectIdinteger<int64>releaseDatestring<date-time>releaseDateSetbooleanreleasedbooleanselfstring<uri>startDatestring<date-time>startDateSetbooleanuserReleaseDatestringuserStartDatestring403
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.