-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Affects Version/s: JCMA - 1.11.17
-
Component/s: Jira - Migration Assistant - Export
-
None
-
10
-
Severity 2 - Major
-
1,305
Issue Summary
Jira cloud migration assistant errors out when upgraded to version 1.12.0.
Issue observed in instances running in MSSQL or Mysql Jira version with `10` as any version component.
Cause An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getBaseUrl' in class com.atlassian.jira.plugin.webresource.JiraWebResourceUrlProvider threw exception java.lang.IllegalArgumentException: Failed to call com.atlassian.jira.plugin.webresource.JiraWebResourceUrlProvider@37b4701c.getBaseUrl with arguments : [ABSOLUTE] at com.atlassian.jira.migration.jira-migration-plugin:jira-migration-actions//app.vm[line 9, column 50] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:290) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) at org.apache.velocity.Template.merge(Template.java:235) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117) at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBody(DefaultVelocityManager.java:97) at
Steps to Reproduce
- Issue is replicable on Jira versions : 9.12.10 , 9.10.0, 9.10.1, 9.10,2, 9.4.10 , 8.20.10,8.13.10,8.10.0, 8.10.1, 8.5.10, 7.13.10
- Install or upgrade Jira Cloud Migration Assistant 1.12.0 on Jira from impacted versions.
- Open Jira Cloud Migration Assistant
- It will throw the error above
Expected Results
Jira Cloud Migration Assistant should open the Migration Assistant home page
Actual Results
Jira Cloud Migration Assistant errors out .
Workaround
Revert back to Jira Cloud Migration Assistant 1.11.17:
- Uninstall previous version of Jira Cloud Migration Assistant.
- Go to <BASE_URL>/secure/admin/SiteDarkFeatures!default.jspa
- Add the following dark feature:
com.atlassian.jira.migration.skip.app.outdated.check - Download the Jar file for version 1.11.17 on your workstation by browsing to the following URL:
- https://marketplace.atlassian.com/apps/1222010/jira-cloud-migration-assistant/version-history
- Navigate to General Configuration > Manage apps
- Choose Upload app
- Locate the file then click Upload