Java REST client authentication examples

Lukasz Ban August 19, 2013

I would like to use Java application to create/modify/delete JIRA objects.

First of course I need to authenticate myself. I have tried OAuth and Basic, both didn't work.

Can you provide me code examples how this can be done?

thanks in adavance.

Lukas

2 answers

0 votes
Lukasz Ban August 20, 2013

I am afraid it didn't work for me. I think this is related to authentication problem. How wuthentication works on JRJC? It retrive token and use it in future requests? Becasue When I have used SOAP API after login (retrieve token) then everything works fine but on REST I always have empty response.

0 votes
Raju KC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2013
Lukasz Ban August 20, 2013

I am afraid it didn't work for me. I think this is related to authentication problem. How wuthentication works on JRJC? It retrive token and use it in future requests? Becasue When I have used SOAP API after login (retrieve token) then everything works fine but on REST I always have empty response.

Suggest an answer

Log in or Sign up to answer