We can assign project to only one custom field configuration scheme from JIRA admin UI. Even if this is the case JIRA API returns list of projects for give custom field configration scheme. Can anyone explain why is this?
e.g
final CustomField field;
for(FieldConfigScheme fieldConfigScheme: field.getConfigurationSchemes()){
List<Project> projects = fieldConfigScheme.getAssociatedProjectObjects();
}
you can configure same field configuration scheme to multiple projects that's why the api retuning List of projects
Right, I got it. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.