Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error when running "Writing a Custom Importer" tutorial

Vince Pastorella September 27, 2022

I've Git cloned the repo for the  Writing a custom importer using the JIRA importers add-on tutorial and when I try to run `atlas-run` I get the following error:

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-jira-plugin:4.2.9:copy-bundled-dependencies (default-copy-bundled-dependencies) on project simple-csv-importer: Execution default-copy-bundled-dependencies of goal com.atlassian.maven.plugins:maven-jira-plugin:4.2.9:copy-bundled-dependencies failed: An API incompatibility was encountered while executing com.atlassian.maven.plugins:maven-jira-plugin:4.2.9:copy-bundled-dependencies: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenSession.getRepositorySession()Lorg/sonatype/aether/RepositorySystemSession;

I'm unable to get it running and I'm not finding any solutions at least based with the Atlas-SDK so I wanted to see if I could find a fix on here?

 

1 answer

0 votes
Matt Doar
Community Champion
September 27, 2022

That page says "This tutorial applies to JIRA 5.0.2 or later,"

So the tutorial is really old. I generally extract the data, transform it to what the Jira CSV Importer wants, and then use that, in Jira Data Center

Vince Pastorella September 28, 2022

Well at the top of the page, the tutorial had been updated in May, 2022.  I would assume based on that and as you said JIRA 5.02 and later it would have still been applicable for the latest version.  

I'll just have to see if I can figure out the compiling errors then.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events