Forums

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

HTTP Get request to get all open specific issue type tickets.

Mariam Krkara December 11, 2022

Hello everyone,

I'm trying to send a GET request to the Jira REST API, so I can retrieve all open tickets from a specific issue type.

However, the response I get includes all tickets regardless of issue type status. It seems to only see the first parameter of the search query only.

This is the call that I use: /rest/api/2/search?jql=project={}&issuetype={}&status=open

Has anyone else experienced this and was able to find a solution?

Thank you.

1 answer

1 accepted

4 votes
Answer accepted
Vikrant Yadav
Community Champion
December 12, 2022

Hi @Mariam Krkara  Welcome to Atlassian Community!

Try to update JQL query :- 

https://yourjira.atlassian.net/rest/api/3/search?jql=project%20%3D%20"Power%20Automate"%20AND%20issuetype%20%3D%20"Bug"

To get Bold part you need to run JQL query in JIRA and in URL you get this part or you can design.

Screenshot 2022-12-12 190854.png

Mariam Krkara December 12, 2022

Thank you! Updating my JQL query like you clarified I was able to get the exact issues I wanted successfully.

Like Vikrant Yadav likes this
Vikrant Yadav
Community Champion
December 12, 2022

😎 Glad to hear I am able to help you. 🤗

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events