fixVersion
, affectedVersion
, or any version picker custom fields. If alternatives are not provided, occurrences of fixVersion
, affectedVersion
, and any version picker custom field, that contain the deleted version, are cleared. Any replacement version must be in the same project as the version being deleted and cannot be the version being deleted.curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/version//removeAndSwap' \
--header 'Content-Type: application/json' \
--data-raw '{
"customFieldReplacementList": [
{
"customFieldId": 0,
"moveTo": 0
}
],
"moveAffectedIssuesTo": 0,
"moveFixIssuesTo": 0
}'
null