@Override
public void removeVersion(URI versionUri, @Nullable URI moveFixIssuesToVersionUri,
@Nullable URI moveAffectedIssuesToVersionUri, ProgressMonitor progressMonitor) {
final UriBuilder uriBuilder = UriBuilder.fromUri(versionUri);
if (moveFixIssuesToVersionUri != null) {
uriBuilder.queryParam("moveFixIssuesTo", moveFixIssuesToVersionUri);
}
if (moveAffectedIssuesToVersionUri != null) {
uriBuilder.queryParam("moveAffectedIssuesTo", moveAffectedIssuesToVersionUri);
}
delete(uriBuilder.build(), progressMonitor);