How to use JQL


I m trying to get information about issues of a specific project (SAPBO). The project exists and there re more than ten issues related with this. My Jira user has assigneed 6 issues related SAPBO project.

I ve used all the posibilities by jql query, and i get back two responses (error or zero issues). Here i show you what i had tried and the results:

"https://<MyHOST>/rest/api/2/search?jql=project=SAPBO" Error 400

"https://<MyHOST>/rest/api/2/search?jql%3Dproject%3DSAPBO" ZERO ISSUES

"https://<MyHOST>/rest/api/2/search?project=SAPBO"ZERO ISSUES

"https://<MyHOST>/rest/api/2/search?jql=assignee=fjmystal" Error 400

"https://<MyHOST>/rest/api/2/search?jql%3dassignee%3dfjmystal" ZERO ISSUES

2 answers

0 vote

I don't think your REST JQL is incorrect, I suspect it's that you are logging in as a user who doesn't have permission to see the project.

On my Jira instance I'm successfully using this syntax:


You could consider using a REST-Tool (like the Plugin "RESTclient" for Firefox") to check the syntax of your REST-calls

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

220 views 1 18
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