GET Project API

What is the SQL query that gets triggered in the backend when we run the GET Project API call?

1 answer

0 vote

Quite possibly nothing, if the data you're asking for is indexed.  You could have a look at the Project table to see the basic information, but that's not necessarily being read when you run any specific API call.

Hi Nic,

Thanks for your response, but we could not understand it well. If we are fetching data from the JIRA database, aren't we running an SQL query after all? We need this query for the GET Project API call. The call is https://jira.corp.X.com/rest/api/2/project

No, you might not be.  The data you fetch may be being taken from the cache or index, so although your REST call gets data which matches the database, JIRA might not have run any SQL at all to answer the call.

Although, you really don't care about the SQL anyway - the call over REST answers your question, and correctly.  The SQL is utterly irrelevant to you.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

31 views 0 4
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