GET Project API

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

1 answer

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

207 views 1 3
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