Hello, I am looking to use the JIRA Rest API with Java to scrape information for a query results in JIRA. Before I can even get started, I am having issues getting the API set up properly with Java maven when I add my dependencies. These are the dependencies I have added:
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>5.2.1</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-app</artifactId>
<version>5.2.1</version>
</dependency>
I have looked online for a solution, and saw that adding the repository in the pom may help. I have also tried this without success. Here are the repos I have added:
<repository>
<id>atlassian-public</id>
<url>https://packages.atlassian.com/mvn/maven-external/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</snapshots>
<releases>
<enabled>true</enabled>
<checksumPolicy>warn</checksumPolicy>
</releases>
</repository>
The error I am getting is as follows:
Missing artifact com.atlassian.jira:jira-rest-java-client-app:jar:5.2.1 pom.xml /atlassian-demo line 1 Maven Dependency Problem.
Any more details that I can provide to help resolve the situation I will happily do. Would really appreciate the help