The project's issue type scheme has changed.
However, the issue of a different project type schema as the default schema is changed.
Why is that?
FieldConfigScheme configScheme = getConfigScheme();
List projectsList;
List associatedProjects = configScheme.getAssociatedProjects();
if (associatedProjects != null && !associatedProjects.isEmpty()){
projectsList = new ArrayList(associatedProjects);
}else{
projectsList = new ArrayList(1);
}
projectsList.add(getProject());
Long[] projectIds = GenericValueUtils.transformToLongIds(projectsList);
setProjects(projectIds);
List contexts = CustomFieldUtils.buildJiraIssueContexts(false, null, getProjects(), treeManager);
configScheme = configSchemeManager.updateFieldConfigScheme(configScheme, contexts, getConfigurableField());
fieldManager.refresh();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.