Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to upgrade Jira core from 8.2.1 to the latest version?

Mark Gesite
April 21, 2020

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

2 answers

2 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 29, 2016

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.

0 votes
Matt Shelton
Contributor
March 29, 2016

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)

Suggest an answer

Log in or Sign up to answer