Tindona
Tindona

Reputation: 450

How to filter issues with specific priority in jira rest API

I am using JIRA GET /rest/api/3/search And I want to filter issues by their priority, but using this URL does not work. https://MyJira.atlassian.net/rest/api/2/search??jql=priority="Low" I am really new, so sorry if my question is very basic. I tried different filters but it is returning all the results

Upvotes: 1

Views: 1145

Answers (1)

stuck
stuck

Reputation: 1570

You're almost there; just use "Low" without quotes:

https://myjira.atlassian.net/rest/api/2/search?jql=priority=Low

And as additional resource on Priority field and all other JQL operators&fields, you can check this Atlassian documentation page.

Upvotes: 2

Related Questions