Forums

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

How do I select issues with a specific fixVersion name from a project (JQL or REST API)

Thomas Gerdes
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!
October 14, 2020

I am attempting to user the Jira REST API.  I am using the search option to select issues with a specific fixVersions name value.  I need to know how to specify the fixVersions name properting in my JQL statement part of the JIRA API GET statement.

Here is my URL:

https://mybaserurl/rest/api/latest/search?jql=project=TRIAGE&maxResults=100&fixVersions="Triage - 11/08/2020"&fields=fixVersions

With this query I get all issues for the TRIAGE project.  I would like to get only the issues that have a fixVersion name property of "Triage 11/08/2020".

Can you help me...  thanks

1 answer

1 vote
Ivan Lima
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2020

Hey @Thomas Gerdes, it looks like you need to make a small change to your API call. When you add '&', your URL sets it as a query parameter.

You can copy the snippet below, update it with your parameters and give it a try. It should work for you. 

http://mybaserurl/rest/api/2/search?jql=project=TRIAGE AND fixVersion="Triage 11/08/2020"&maxResults=100&fields=fixVersions

I hope that helps.
IL.

Suggest an answer

Log in or Sign up to answer