How can i use a REST client in jira 7.2.2 to contact external service with jersey?

i want to contact an external web service with jersey in my custom jira plugin.


But jersey is not working:




The plugin will not start after adding this?

Any solutions?

1 answer

0 votes

Try this version


it also wont work

i want to execute this code:

 Client client =ClientBuilder.newClient();
WebTarget webTarget
Invocation.Builder invocationBuilder
= webTarget.request();

Response response
= invocationBuilder.get();


But i cant import the packages in eclipse.

Do you use maven from atlassian sdk in eclipse? 

it worked with 


 I've just cleanded everything and rebuild it and than it worked.

Nice to hear. Thank you for feedback.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,100 views 4 9
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you