Filter import failed

srinivasp
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 Leaders.
March 1, 2016

We exported a single project and imported on target. I have randomly checked some warn messages in the log and found one filter was failed to import. I checked the xml and found the project in JQL is not related to the imported project.

 

WARN  14:27:49,823 Filter Resolved Encoder Issues but not Closed by yujuan. Found error while importing: com.atlassian.jira.jql.parser.JqlParseException: com.atlassian.jira.jql.parser.antlr.RuntimeRecognitionException: NoViableAltException(59@[]). INTERRUPT AND CONTINUE WITH NEXT ITEM.
 
Imported Project Name from Source : GFXV
Import failed Filter project : VIDHW
Import failed Filter JQL : project = VIDHW AND affectedVersion in (EMPTY, 10705, 10860, 10861, 10877, 11005, 11112) AND component in ("Enc BCE", "Enc CMB", "Enc CME", "Enc FME", "Enc Other", "Enc SG", "Enc SP", "Enc XFM", SW_test) AND status = Resolved ORDER BY key ASC
 
What could be the reason?
 
 

2 answers

0 votes
José Marañón [Awnaba Software S.L.]
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 Leaders.
July 6, 2016

The error "com.atlassian.jira.jql.parser.JqlParseException" means that parsing the JQL query for the filter failed. The best approach in these cases is copying the filter JQL query string from the XML file, and paste it into the JQL window at the target instance and see the reported error. This should give enough information about the nature of the problem.

About the last question in your comment, there is an option that includes in the export only the filters (or dashboards) that have been shared with any of the exported projects. That should serve the purpose of exporting only project specific filters.

Regards!

0 votes
srinivasp
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 Leaders.
March 1, 2016

We selected All Filters(shared and private) and All Dashboards(shared and private).  I am suspecting as the reason for the above issue.

Is any of the options support only to export project specific filters and dashboards.

Suggest an answer

Log in or Sign up to answer