Good afternoon,
I'm trying to get the library jira-service desk-public-rest-api-plugin for maven
<dependency>
<groupId>com.atlassian.servicedesk</groupId>
<artifactId>jira-servicedesk-public-rest-api-plugin</artifactId>
<version>1000.268.0</version>
</dependency>
to use the notation com.atlassian.servicedesk.api.rest.annotations.RunInCustomerContext,
but that is not in the repositories Atlassian
atlassian.PNG
Where can I get the jira-service desk-public-rest-api-plugin jar?
Thanks in advance
Regards
Community moderators have prevented the ability to post new answers.
Hey David,
The Maven repository you're looking at is actually a mirror of other internal repos; if you look at the listings, you'll only ever seen what's been previously requested. To validate this, I typed in the full URL to the jar you were looking for, and you'll see that it now shows up in the listing.
The better way of doing this, is to simply add a dependency in your project, and let Maven download the jar for you. The dependency you have in the message above is correct - that should just work, provided that your Maven (~/.m2/settings.xml) or your project know about this Atlassian repository.
That said, if you're looking for this annotation, you're probably using the server version; change your dependency to use 3.2.0 instead. You'd need something like this
<dependency>
<groupId>com.atlassian.servicedesk</groupId>
<artifactId>jira-servicedesk-public-rest-api-plugin</artifactId>
<version>3.2.0-060</version>
</dependency>
Let me know if that helps !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.