Details
-
Bug
-
Resolution: Fixed
-
Medium
-
6.3.11
-
None
-
6.03
-
Description
When there is an invalid search filter in JIRA, the upgradeTask 13 will got stuck upon upgrading/installing JIRA Agile. The following error will be thrown in atlassian-jira.log:
2014-03-07 16:06:34,368 localhost-startStop-1 ERROR [sal.core.upgrade.PluginUpgrader] Upgrade failed: com.atlassian.jira.jql.parser.JqlParseException: com.atlassian.jira.jql.parser.antlr.RuntimeRecognitionException: NoViableAltException(8@[467:1: operator returns [Operator operator] : ( EQUALS | NOT_EQUALS | LIKE | NOT_LIKE | LT | GT | LTEQ | GTEQ | IN | IS NOT | IS | NOT IN | WAS | WAS NOT | WAS IN | WAS NOT IN | CHANGED );]) com.atlassian.jira.exception.DataAccessException: com.atlassian.jira.jql.parser.JqlParseException: com.atlassian.jira.jql.parser.antlr.RuntimeRecognitionException: NoViableAltException(8@[467:1: operator returns [Operator operator] : ( EQUALS | NOT_EQUALS | LIKE | NOT_LIKE | LT | GT | LTEQ | GTEQ | IN | IS NOT | IS | NOT IN | WAS | WAS NOT | WAS IN | WAS NOT IN | CHANGED );]) at com.atlassian.jira.issue.search.OfBizSearchRequestStore.getSearchQueryFromGv(OfBizSearchRequestStore.java:471) at com.atlassian.jira.issue.search.OfBizSearchRequestStore.convertGVToRequest(OfBizSearchRequestStore.java:445) at com.atlassian.jira.issue.search.OfBizSearchRequestStore.access$000(OfBizSearchRequestStore.java:57) ....
There is no easy way to find the invalid filter in JIRA. In this case, we have two options
- The upgrade task should not care with the invalid JIRA filter
- Improve the error logging to point out the offending filter
Attachments
Issue Links
- is related to
-
JPOSERVER-74 Importing issues produces a com.atlassian.jira.jql.parser.JqlParseException
- Closed
- relates to
-
JSWSERVER-10870 6.4 upgrade is failing if finds any invalid JQLs
- Closed
-
SW-269 Loading...