The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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 Champions.
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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
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 Champions.
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.