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.

Regards!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,003 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot