deleteAndReplaceVersion
Delete and replace version
POST /rest/api/3/version/{id}/removeAndSwap HTTP/1.1Parameters
{
"id": {
"description": "The ID of the version.",
"required": true,
"location": "path",
"type": "string"
},
"customFieldReplacementList": {
"description": "An array of custom field IDs (`customFieldId`) and version IDs (`moveTo`) to update when the fields contain the deleted version.",
"required": false,
"location": "body",
"type": "array"
},
"moveAffectedIssuesTo": {
"description": "The ID of the version to update `affectedVersion` to when the field contains the deleted version.",
"required": false,
"location": "body",
"type": "integer"
},
"moveFixIssuesTo": {
"description": "The ID of the version to update `fixVersion` to when the field contains the deleted version.",
"required": false,
"location": "body",
"type": "integer"
}
}Response Schema
{}