How to enable REST API in Jira

How to enable REST API in Jira?

2 answers

1 vote

Simple answer - install JIRA.

The REST API is available automatically, and is, in all currently supported versions, a requirement for a good part of the system to work.

There's nothing to "enable", it's already there, and you can't turn it off (without hacking core core)

Then, what is the default URL of JIRA? I was trying to access it from Jenkins at http://hostname:8080/rest/api/2/. I even tried http://hostname:8081/rest/api/2/ and http://hostname:8080/jira/rest/api/2/. But none of them helped me in getting the response. any help is really appreciated. 

See https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/

But, yes, it is <your jira base url>/rest/api/<version>  so http://hostname:8080/rest/api/2/ is right, assuming a recent version of jira and a base url of http://hostname:8080

0 vote

Adding the tag JIRA so you get more responses, karthik!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot