The code snippet included in the javadoc of the PrioritySchemeManager class is missing a getter :
https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/issue/fields/config/manager/PrioritySchemeManager.html
PrioritySchemeManager prioritySchemeManager;
...
FieldConfigScheme fieldConfigScheme = prioritySchemeManager.createWithDefaultMapping("Some name", "Some description", ImmutableList.of("1", "2", "3"));<br>...Logically, we get a "java.lang.NullPointerException: Cannot invoke method createWithDefaultMapping() on null object" error.
So how do we get access to an instance of the PrioritySchemeManager ?
The ComponentAccessor that usually gives access to all managers doesn't help for this one.
Thanks,
Eddy