Forums

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

POST JQL query dont show correct results

cogx_tickets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2020

Hello,
I have an issue, when i do a jql query in jira web the result is correct like this:

JIRA1.PNG.png

But, when i try the same query with postman, jira allways return all the tickets in my jira. like this image:

jira2.pngWhat could be the reason?

 

Thanks

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2020

Hello @cogx_tickets

Welcome to the Atlassian Community!

I believe there are some wrong parameters in your Postman request. Could you please try to run the following REST API endpoint (URL) directly in your browser and check if it works for you?

   https://cogxtickets.atlassian.net/rest/api/3/search?jql=project=TIC

I'm not a specialist in the Postman app, but I believe you might be able to get the information you want by following the steps below:

  1. Since you're trying to return information from the REST API Endpoint, you shall use GET instead of POST method
  2. Since you are trying to return information from a Jira Cloud site, use the version 3 in the URL directory:
    Screen Shot 2020-06-25 at 19.46.47.png

Let us know if this works for you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events