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

Is the source distribution needed to make a call to the JIRA API?

Yuanyuan Zhou July 10, 2011

I have a question about api call. Can you guys tell me do I need the source distribution to call an api or the standalone version on windows for JIRA is more than enough?

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
sohail
Contributor
July 10, 2011

Whether the SOAP API or writing plugins, you don't need the source distribution.

However, I've found the source useful on occassion. See this blog post for why you might find it useful.

Yuanyuan Zhou July 10, 2011

Thx, bro. And further, can you tell me how to load jars to call the existed apis? I don't know where is the definition file of those apis on the official documentation. I am not quite familiar with jar call.

sohail
Contributor
July 10, 2011

Well, if you are making a SOAP client (running outside of JIRA), then you don't need any jars except the ones necessary for the ones that you use for your client. This is a Java thing and beyond the scope of this question, I think.

If you are running inside JIRA (see "writing plugins" link), then the SDK will take care of using the right jars for you.

Yuanyuan Zhou July 10, 2011

so how do you know the names of the ones necessary? You dont know the file name containing the functions you wanna call?

1 vote
Colin Goudie
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.
July 10, 2011

If you are just wanting to connect to JIRA remotely via another application (web or otherwise) you could also just use the REST APIs. These are what Atlassian will be concentrating on moving forward.

http://docs.atlassian.com/jira/REST/latest/

I don't think the SOAP APIs will be maintained as much as the REST APIs

sohail
Contributor
July 10, 2011

Very good point!

0 votes
Ashley Russell
Contributor
July 13, 2011

the standalone edition is fine. if however you are using the atlassian plugin development thingy, then be aware the xmlrpc is NOT included. what we ended up doing was copying the plugin from our main server out of it and into the sdk to use it, massive pain

0 votes
Penny Wyatt (On Leave to July 2021)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 10, 2011

Hi Yuanyuan, I've just updated the title to include more information - so other people can more easily find the answer to this question in the future.

0 votes
Colin Goudie
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.
July 10, 2011
The only thing you really need is the Atlassian SDK. http://confluence.atlassian.com/display/DEVNET/Installing+the+Atlassian+Plugin+SDK This includes the required tools such as maven etc.. That you will need. As Sohail said though, if you have a license, the source is invaluable at times.
Yuanyuan Zhou July 10, 2011

Yeah. I tried to figure this out this morning, but I don't understand if I wanna build a web application which calls jira's api, should I build this application as a plugin using atlassian plugin sdk?

Andy Brook [Plugin People]
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.
July 13, 2011

If your web-application is running in another VM it has no need or use for Jira classes. You will be accessing Jira remotely through an API, your client code is whatever you need to make that work, whether its a SOAP stub, or jason object builders/parsers. So Colin is right, you dont need the code, but it is _darned_ handy to understand _how_ things work.

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