Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

where can I get the jira-service desk-public-rest-api-plugin jar?

Dortiz September 7, 2016

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

 

 

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Dortiz September 8, 2016

ok, this works
thank you very much

0 votes
Grégory Joseph
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2016

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 !

TAGS
AUG Leaders

Atlassian Community Events