Error trying to sort by custom field

In the issue navigator, I configured an additional column that is a custom field. If I try to sort the issues by that field I get the following error message:

Error occurred communicating with the server. Please reload the page and try again.

4 answers

0 vote

Look at the atlassian-jira.log file. There must be some error that will help you indetify the issue.

From the atlassian-jira log file, I believe this is the location of the error:

------------------------

2013-08-28 10:50:05,677 http-bio-8080-exec-9 ERROR hodgens 650x33945x2 1u65tct 172.16.3.80 /rest/issueNav/1/issueTable [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service

java.lang.ClassCastException: com.atlassian.jira.issue.customfields.option.LazyLoadedOption cannot be cast to java.lang.String

-------------------------

There is additional informational log info that I could also include if necessary.

Thanks

I should also point out that we are using the download version of JIRA and that it happens every time I try to sort.

I got this issue too. The problem is that the Custom Field had no searcher defined, once the searcher was set I had to re-index the instance. That fixed it.

Hi I got also this problem. I think it's a bug for some type of customfield as SelectList, instead for Select List Cascade without associate searcher sorting works well.

Indeed a customfield w/o searcher is not searchable but it is sortable.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

131 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you