Difference between JIRA Rest API and Native API


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 Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

247 views 6 0
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