https://your-domain.atlassian.net/rest/api/3/version/{id}/mergeto/{moveIssuesTo}Merges two project versions. The merge is completed by deleting the version specified in `id` and replacing any occurrences of its ID in `fixVersion` with the version ID specified in `moveIssuesTo`. Consider using Delete and replace version instead. This resource supports swapping version values in `fixVersion`, `affectedVersion`, and custom fields. This operation can be accessed anonymously. **Permissions required:** *Administer Jira* global permission or *Administer Projects* project permission for the project that contains the version.
The ID of the version to delete.
The ID of the version to merge into.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/api/3/version/{id}/mergeto/{moveIssuesTo}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://your-domain.atlassian.net/rest/api/3/version/{id}/mergeto/{moveIssuesTo}Merges two project versions. The merge is completed by deleting the version specified in `id` and replacing any occurrences of its ID in `fixVersion` with the version ID specified in `moveIssuesTo`. Consider using Delete and replace version instead. This resource supports swapping version values in `fixVersion`, `affectedVersion`, and custom fields. This operation can be accessed anonymously. **Permissions required:** *Administer Jira* global permission or *Administer Projects* project permission for the project that contains the version.
The ID of the version to delete.
The ID of the version to merge into.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request PUT \
--url 'https://your-domain.atlassian.net/rest/api/3/version/{id}/mergeto/{moveIssuesTo}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}