Difference between JIRA Rest API and Native API

Hello,

Could you please tell me what is the difference between JIRA rest and Native API with respect to usage (adaptability) , and response time , majorly when should each of them be used (also which of them is preferred to be used across various versions of JIRA).

I found a documentation for list of Rest API's for JIRA : https://docs.atlassian.com/jira/REST/latest

Is there a similar one for Native API's as well?

1 answer

1 vote

There's not really much use in such a comparison.

Let's put it this way - the REST API is provided by a block of code that uses the native API.  It's a way to expose parts of the internal API to remote calls.

The question about usage is easy though.  If you are writing an add-on for JIRA Server, you have access to the internal APIs, so use them.  In all other cases, use REST.

See https://developer.atlassian.com/jiradev/jira-apis for all of them

Basically we are creating a interface to synchronize data between JIRA and External Tool, which is bidirectional data transfer. so it includes reading data from JIRA and writing to JIRA (GET,PUT,Post calls). 

  • which among the 2 is better suited in terms of performance and API support for all kinds of actions?
  • whenever there is change in JIRA version, how adaptable are each of these?

Also could you precisely share the link for the list of Native API's and its functionality (for our reference)

So, are you going to be writing an add-on for JIRA to do this?  Or do you want to keep it all external?

 

It will be kept external

Ok, that makes it really simple.

You don't care about these questions.  You have to use the REST API to do this work, so the differences between it and the Java API are not relevant.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,183 views 6 19
Read article

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