Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage


Hi there,

I am trying to understand about JQL API. I have gone through

I understood JQL a query to filter out either issue or user or project may be using simple JQL or complex JQL query.


And just to understand its behavior, I am trying to access the project as follows   /api/rest/2/search?jql=project=Demo 

Can we use JQL in v2 APIs? if Yes, then what all API are there where we can use the JQL query parameter?


Please let me know.





2 answers

0 votes
Fadoua Community Leader May 11, 2021

@Nishant Sharma 

What are you trying to achieve exactly?

JQL is the way to search for issues in Jira. There are basic queries and there are advanced ones.

Why are you using rest api?



I just want to understand how JQL queries work using rest API.

Fadoua Community Leader May 12, 2021

ok I understand that sometimes we need rest api, however searching for issues using JQL let you create powerful filters, dashboards, and reports.

You should mainly focus on understanding how to write powerful queries. Then it is up to you if you want to use rest api.



Hi @Nishant Sharma  Instead of using JQL in REST API, i perfer to create filter and filter id, which is easy to use. If you still looking to GET JQL result via API then below video can help.



Vikrant Yadav

Thanks, @Vikrant Yadav  I have gone the share youtube link and reference doc link.

It was quite helpful.


I am confused on the Jira API for JQL. Are we suppose to use /rest/api/2/search this API to query any types of data like issues or users or projects?


Please let me know.

Hi @Nishant Sharma  The latest version of the Jira Cloud platform REST API is version 3, which is in beta. Version 2 and 3 of the API offer the same collection of operations

Like Nishant Sharma likes this

I agree @Vikrant Yadav . But let me ask my query in a different way.


Is jql queries only used to retrieves Issues? or we can retrieve users or maybe projects as well?

JQL is used to retrieve issues only. It show the list of issues created under project or create by a user. It is flexible and faster way to search issues.

Like Nishant Sharma likes this

Thanks @Vikrant Yadav  for confirming it. Please let me know if my understanding on below points is correct.

1. JQL GET is used for basic search.

2. JQL POST is used for Advance and Basic Search?

Is my understanding on above two points is correct. Please correct me in case it's wrong .

POST method is used to send data to a server to create or update a resource like update issue status, while GET method is used to request data from a specified resource and should have no other effect.



Like Nishant Sharma likes this
Like Nishant Sharma likes this

I am trying to point you here


If the JQL query expression is too large to be encoded as a query parameter, use the POST version of this resource.

This operation can be accessed anonymously.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

314 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you