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

get list of available task per user close they, and create one new task via jira java REST client

Vasyl Khrystiuk April 5, 2012

Client url is https://studio.atlassian.com/wiki/display/JRJC/Home.

Is this possible or I must use SOAP API?

I'm not sure if SOAP API would work fine on my device while REST will(I bealive).


3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
RambanamP
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.
April 7, 2012

Yes you have to use Search api to get all issues of user

Now REST API covers almost all functionality of jira web interface from jira 5.0

currently avialable REST API are http://docs.atlassian.com/jira/REST/latest/

0 votes
RambanamP
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.
April 6, 2012

You can achive all goals by using "REST java client using Jersy", compare to JRJC jersy client is good

for ur reference: http://www.mkyong.com/webservices/jax-rs/restful-java-client-with-jersey-client/

it worked for us.

Cheers,

Vasyl Khrystiuk April 6, 2012

As I understand - for getting all issues of user i should use search method from REST API. Need to check.

I 'd like to create full-featured java client but i do not know if REST API covers all functionality of jira web interface. How about this?
Because i found in web, that it is still under development.

RambanamP
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.
April 7, 2012

Yes you have to use Search api to get all issues of user

Now REST API covers almost all functionality of jira web interface from jira 5.0

currently avialable REST API are http://docs.atlassian.com/jira/REST/latest/

RambanamP
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.
April 8, 2012

you can develop your own REST api refer here https://developer.atlassian.com/display/REST/REST+Plugin+Module

if my answers or comments helped to you give upmark or accept as a right answer :)

Vasyl Khrystiuk April 8, 2012

>>covers almost all
What it not covers?
Where i can find list of unimplemented but planned functionality.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 6, 2012

I'm not entirely clear on what you are asking here? Could you explain what the goal is?

For the SOAP and REST part of the question though, the answer is that SOAP will work for reporting and some actions on issues, but it would be better to use REST as the products are moving that way and SOAP won't be updated/improved in the future. I've no idea if SOAP or REST will work on your device because you've not said what it is, but both should be fine.

Vasyl Khrystiuk April 6, 2012

Goal is create app, in which i could:

  • get list of all my issues on server
  • change it's
  • close some of then
  • create new

As for me - REST is better protocol and it is logical and simple in use.
But I didn't found reqired functionality in this java REST api client.

So i shuld use some SOAP java api client...

My question is:
Did the java REST api client have reqired functionality? (As i said - i didn't found it, but maybe i miss something)


Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events