Pivotal Tracker Import shows NoSuchMethodError
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When attempting to perform an external import from Pivotal Tracker, the page shows the error:
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 'isGreenHooperFeaturesEnabled' in class com.atlassian.jira.plugins.importer.imports.pivotal.web.PivotalSetupPage threw exception java.lang.NoSuchMethodError: com.pyxis.greenhopper.jira.license.GreenHopperLicenseManager.getLicense()Lcom/atlassian/jira/license/LicenseDetails; at /templates/admin/views/common/setupWarninigs.vm[line 31, column 23] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:237) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:63) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.evaluate(ASTElseIfStatement.java:82) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:104) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) 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)
Diagnosis
Environment
- JIRA 6.3.15
- JIRA Importers 6.2.8 (default bundled version)
- Agile 6.7.x
Cause
The version of JIRA Importers Plugin is not compatible with JIRA Agile.
Resolution
Upgrade the JIRA Importers Plugin to a compatible version.
- Navigate to the JIRA Importer Plugin downloads page: https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugins.jira-importers-plugin/versions
- Locate the latest plugin version that is compatible with your JIRA version
- Copy the download link
- Within JIRA, navigate to the Manage Add-ons administration page
- Click on Upload Add-on
- Paste the JIM download link into the URL field and Upload
- Try importing again.