Difference between JIRA Rest API and Native API

Madhura May 17, 2016

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2016

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

Madhura May 17, 2016

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)

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2016

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

 

Madhura May 18, 2016

It will be kept external

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2016

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events