Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API

daryl October 6, 2020

Is there a Jira API?   We need to query projects from the Jira database.   Currently we are using curl in a bash shell script with REST API.   It takes over two days for this script to run.  There are over 100 projects and the script requires multple curl calls, some take several minutes to return data, multiply that by 100+, so it takes day's to complete.  

I am wondering if there is a better way?  Does Atlassian provide an API to use, or is the REST API the only option?

Thanks

Daryl

1 answer

0 votes
Nic Brough -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.
October 6, 2020

Two for server.  The REST API you've already found.  The internal Java API can be used by apps you write to install in Jira Server (including a couple of apps that enable us to code inside Jira, you can find them in the marketplace)

An app written for Jira would certainly be able accumulate your data faster than hundreds of REST calls, but you'll still have to worry about delivering the results somehow.

daryl October 6, 2020

I'm new to Jira, Confluence etc....I was kind of handed it and don't have much knowledge or experience.  Where does a person find details for the internal Java API?  Trying to get management to approve something from the market place is impossible, so I think the Java API is solution that I'm looking for.  If you can provide more info, I will appreciate it.

Thank you.

Daryl

daryl October 6, 2020

I think I answered my own question.  I just needed to look.  I found something on Java API's that I can read and hopefully that'll work.

Thank you.

Daryl

Suggest an answer

Log in or Sign up to answer