REST API link for on-demand hosting

Srini Gopisetti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2012

We have on-demand hosting for JIRA - https://htcsense.jira.com. I would like to use JIRA rest APIs to manipulate our instance. What is the REST URL that I need to use to call the REST APIs?

4 answers

1 accepted

2 votes
Answer accepted
Dieter
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.
February 13, 2012
E.g. To find issue TTT-1 it is https://htcsense.jira.com/rest/api/2.0.alpha1/issue/TTT-1 Please check http://docs.atlassian.com/jira/REST/latest/ for more information
1 vote
Matthew Hunter
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2012

Hi,

The documentation at http://docs.atlassian.com/jira/REST/latest/ is a pretty good start for all of the REST API URLs. For example on your instance you could use:

http://htcsense.jira.com/rest/api/2.0.alpha1/issue/KEY-123

That would bring up the JIRA issue 'KEY-123'

OnDemand should see JIRA 5.0 soon as well, when that happens the URLs should change slightly to be more like the ones at http://docs.atlassian.com/jira/REST/5.0-beta3/.

Cheers

0 votes
lmiranda_atlassian February 17, 2012

Hi too_good,

The preferred methods are HTTP BASIC authentication and OAuth. Have a look at the REST API documentation for JIRA 5.0 RC7 at http://docs.atlassian.com/jira/REST/5.0-rc7/#authentication for more background on how this works (the docs are for 5.0 but the same authentication API is also available in 4.4).

You may also find the REST API tutorials on developer.atlassian.com useful.

0 votes
Srini Gopisetti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2012

Thanks a lot for the reply. I am unable to find an example to show the sequence of API calls. How is the auth API called?

lmiranda_atlassian February 17, 2012

Hi too_good,

The preferred methods are HTTP BASIC authentication and OAuth. Have a look at the REST API documentation for JIRA 5.0 RC7 at http://docs.atlassian.com/jira/REST/5.0-rc7/#authentication for more background on how this works (the docs are for 5.0 but the same authentication API is also available in 4.4).

You may also find the REST API tutorials on developer.atlassian.com useful.

Suggest an answer

Log in or Sign up to answer