Filter import failed

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

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.

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.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,790 views 18 22
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