Hi all,
I actually develop a plugin for Jira 8 where I need to get a specific project PriorityScheme and the associated Priority objects.
My server configuration implements several priority schemes associated to variaous projects and using distinct priority objects.
It works well in the UI while creating or editing an issue, But I do not find the way to get this configuration with SDK objects.
I tried with the com.atlassian.jira.config package, with the fieldLayout and fieldLayoutItems, and some other ways, but I always get the default config, and not the one associated to the project I try to get.
is there a way to "simply" manage a project priority config and its values ?
Regards.
Well, I reply myself...
to get the PriorityScheme for a spécific project I used the com.atlassian.jira.issue.fields.config.manager.PrioritySchemeManager to get the FieldConfigScheme
Then I looked for the FieldConfig representing priorities( => fieldConfig.getFieldId().equalsIgnoreCase("priority") ) like for a customfield
This FieldConfig object contains only the project priorities as shown in the GUI
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.