I am using JIRA 7.1.6 and I want to use the IssueEvent class in my Java application. It seems as if I have to use the jira-api dependency in my POM but when I run a build it always fails with an exception:
[ERROR] Failed to execute goal on project myproject: Could not resolve dependencies for project xx.abcde:myproject:jar:0.0.1-SNAPSHOT: Could not find artifact jta:jta:jar:1.0.1 in Central Repository (http://central.maven.org/maven2/) -> [Help 1]
Here is my repository section of the POM:
Even when I try to include the JTA dependency manually:
...it doesn't help.
Using https://maven.atlassian.com/webapp/#/artifacts/browse/tree/General/maven-closedsource-legacy/com/atlassian/jira/jira-api/7.1.6/jira-api-7.1.6.jar shows us, that the dependency exists and I can find IssueEvent in the JAR.
So my question is: How can I achieve it using jira-api to finally use the IssueEvent class?
I found out that I have to exclude the JTA dependency used internally in jira-api:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs