Project Import tool requires versions and components to be empty. So do we need to restrict importing versions and components with Project Configurator?
Yes, you should skip import of components and versions.
When you are about to import the project configuration, select to skip "Versions" and "Components" in the "Do not load" window of the "Project configuration file upload" page, so that they are not created in the new project. You can find a complete description of the process here: Moving a project to another instance.
So what happens if the filters has components or versions? While importing we observed below error. Is it related?
Log Trace
2016-02-29 18:18:10,476 http-bio-8080-exec-16 INFO hgunturu 1098x22735x1 1e0yus3 10.16.37.144,10.15.160.174 /secure/project-config-file-upload.jspa [projectconfigurator.loaders.core.AbstractIntegratedHandler$1] Creating filter No component set, not closed by amorgan 2016-02-29 18:18:10,477 http-bio-8080-exec-16 WARN hgunturu 1098x22735x1 1e0yus3 10.16.37.144,10.15.160.174 /secure/project-config-file-upload.jspa [projectconfigurator.loaders.handlers.ProjectConfigLoader] An error was detected during the import
Error Message
An error occurred during the load:
Load failed for reason: com.atlassian.jira.jql.parser.JqlParseException: com.atlassian.jira.jql.parser.antlr.RuntimeRecognitionException: NoViableAltException(59@[])
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
Having a look at the query for that filter would clarify the reason for this problem. The filter query can be found in the "<query>" element of the filter description in the XML file. The fastest check would be pasting that query into the advanced mode window, in the JIRA page "Search for issues", and see if that query is rejected and why. Sometimes, simply the examination of the query string is enough to find out why it cannot be parsed correctly.
Thus, this issue need not be related to the fact that project components do not exist yet. If it were related, the best course of action would be:
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.