Vineet
Vineet

Reputation: 11

Get all Bugs in Jira via Rest API

I am able to get all the issues in Jira via the REST API but how to get only bugs via REST? Bug is one of the issuetype configured in my Jira project.

Upvotes: 1

Views: 1744

Answers (1)

Runningriot
Runningriot

Reputation: 745

To get all issue from a certain type (Bug in your case) you can use:

yourjira.url/rest/api/2/search?jql=issueType="Bug"

Here is a link with more information on the use of JQL queries: https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues

Upvotes: 1

Related Questions