Java standalone program

Sam Sung September 6, 2011

Hi

I'd like to developp a java standalone program which creates versions of a given project into Jira.

Which API should I use to do this?

Thanks

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Bob Swift (personal)
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.
September 6, 2011

Or just use JIRA Command Line Interface addVersion which does the same thing.

0 votes
Nic Brough -Adaptavist-
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.
September 6, 2011

SOAP or REST. Your program should establish a connection to Jira with one of those two, and talk to it that way.

Sam Sung September 6, 2011

This API : http://confluence.atlassian.com/display/JIRA/API+Documentation ?

I found a "addVersion" in this API but I don't know if it's the best way.

Nic Brough -Adaptavist-
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.
September 6, 2011

No, that's the Jira API - that relates to the internals of Jira and is for people who want to modify the core code in Jira, or more commonly, write plugins which are added to Jira and run within it.

You said you want a standalone program to run outside Jira, so you need the APIs that talk to Jira remotely. That's http://docs.atlassian.com/jira/REST/latest/ and http://confluence.atlassian.com/display/JIRADEV/Creating+a+SOAP+Client

As a general starting point, have a look at http://confluence.atlassian.com/display/JIRA/Appendix+A+-+Extending+JIRA

TAGS
AUG Leaders

Atlassian Community Events