It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Dortiz Sep 07, 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

0 votes
Gregory Joseph Atlassian Team Sep 07, 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 !

0 votes
Dortiz Sep 08, 2016

ok, this works
thank you very much

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase

Friday Fun: What's your best vacation planning hack?

Let's face it, work can be challenging but fulfilling, especially when you enjoy the challenges thrown at you.  However for me, nothing compares to going on vacation (or holiday as some of you m...

651 views 33 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you