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
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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
Join discussion

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