When attempting to upgrade, it says: "Required - current version is incompatible with Jira Core 8.8.0" I can't find online which version to upgrade first before going to the latest version. Should I go with 8.3 to 8.4 until i reach 8.8? Also, do I need to do the same with Jira Service Desk? Thanks
The error is here:
Caused by: java.lang.ClassCastException: com.atlassian.jira.issue.customfields.option.LazyLoadedOption cannot be cast to java.util.Collection
This is because Flagged is (normally) a check box field and takes a Collection of Option objects.
So changing the last line to:
issue.setCustomFieldValue(cf, [value])
should work.
Attempting to get value this way also does not work, despite this being, I think, the more direct route:
def value = optionsManager.getOptions(fieldConfig).getOptionById(10000)
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.