Forums

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

is there a JQL syntax for current version?

kerensho November 12, 2018

 I have created a few filters which use the field "Fix Version", but i had to use it with specific values ( = version names), is there any JQL for searching Fix Version = CurrentVersion (similar to currentsprint)? I tried a few options and couldn't find anything, workaround is to update all filters in every version but that's cumbersome... :(

2 answers

1 accepted

4 votes
Answer accepted
Thomas Schlegel
Community Champion
November 12, 2018

Hi @kerensho,

it depends on what is the "current version" for you. You can query like this;

fixversion in earliestUnreleasedVersion(project-key) 

fixversion in latestReleasedVersion(project-key)

kerensho November 15, 2018

Thanks :) worked like a charm 

Thomas Schlegel
Community Champion
November 15, 2018

You're welcome, @kerensho

0 votes
Karthik
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!
April 3, 2020

What is the project key here please?

Thomas Schlegel
Community Champion
April 3, 2020

The key of your project. 

E.g. if your issue has the key ABC-123456, the project-key is "ABC"

Suggest an answer

Log in or Sign up to answer