saveOrUpdate(activity);
project.getActivities().add(activity);
if (projectRelease != null && projectRelease.getId() != null) {
ActivityReleaseFilter activityReleaseFilter = new ActivityReleaseFilter();
activityReleaseFilter.setActivity(activity);
activityReleaseFilter.setProject(project);
activityReleaseFilter.setProjectRelease(projectRelease);
project.getActivityReleaseFilters().add(activityReleaseFilter);
}
return "success";
}