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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,416
Community Members
 
Community Events
196
Community Groups

How do I install or enable the Jira REST API?

I've read the documentation and I'm still a little confused as to how I begin using the Jira REST API. I am a new member of my company's Jira instance and they have tasked me with developing an external plugin which leverages some of the data available with the API. I don't know too much about how the software is set up other than it appears that we are not hosting it in-house. I'm very familiar with how REST endpoints work, JSON, and all of that I just don't know if everything is already accessible and if so, at what URL.

Thank you in advance!

3 answers

1 accepted

4 votes
Answer accepted
Jobin Kuruvilla [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.
Jun 04, 2012

You can find the REST specification here: http://docs.atlassian.com/jira/REST/latest/

Just access the urls in browser to see if it is enabled. If not, make sure the 'Allow Remote API Calls' is turned ON under Administration > General Configuration.

I don't see General Configuration on my Administration page, all I see is Projects, Project Categories, User Management, Look and Feel, Tabs, Help and Support, and Jira Import. Also, which URLs should I try? My instance of Jira is hosted at https://snydla.jira.com/, does that mean https://syndla.jira.com/jira/rest/api/2/component/10000 or any of the other exmaples should work?

Thanks for your help.

That did the trick, thank you!

Jobin Kuruvilla [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.
Jun 04, 2012

Try https://syndla.jira.com/rest/api/2/component/10000

For OnDemand, RPC calls should be ON by default.

That is Administration>General Configuration>Accept remote API calls

Like Deleted user likes this

If you are using JIRA v7, see what  @Nic Brough [Adaptavist] stated here. The REST API is enabled by default since Version 7.

 

Hey

I am trying my REST api of hosted instance but its giving me 401 error even though i put basic headers

https://fusionbussolutions.atlassian.net/rest/api/2/issue/createmeta

not an answer, put a new question please

Suggest an answer

Log in or Sign up to answer