Forums

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

(latestReleasedVersion()) is not picking up latest released fixed/version for one of my projects

Stephanie Beach
Contributor
July 30, 2018

I'm running a query that wants to get the latest released version. But for one of my projects, it is picking up the first project "Benson".

The ZQL is project = "Certify NextGen" and  fixVersion in (latestReleasedVersion())

There are 3 releases for this project.

Benson released 8/8/2017

Briscoe released 3/20/2018

Clouseau released 7/27/2018

1.jpg

I've tried the same query (with different projects) and they all work fine. I have other projects with two or more names and no problem.

Also if i put the project into the argument field, it yields the same result. project = "Certify NextGen" and  fixVersion in (latestReleasedVersion("Certify NextGen"))

I do notice that there is a little gray space at the end of the projects. I 'closed' the one 'to do' task  for Briscoe but that did not make a difference.

What else could be stopping a project from being the "Latest Released Version" using that function?

Thanks in advance

Steph :)

2 answers

1 accepted

4 votes
Answer accepted
Stephanie Beach
Contributor
July 30, 2018

Found the answer with the help of one of our directors.

It is in the definition of the function: "Note, the "latest" is determined by the ordering assigned to the versions, not by actual Version Due Dates."

So, I had to go back into "Releases" and 'order' them properly.


2.jpg

 

With all due respect Atlassian, that is 'silly' in our opinion. I showed this to a Director just now. He concurs.

I have 12 projects I have to monitor. And that means whenever I run this query, I have to make sure the 'order' is proper on the release page. That function is not doing what it is supposed to do. SO rename it to

"latestReleaseOnTheReleasePageAndBeSureYourOrderIsCorrectBecauseWeIgnoreTheActualReleaseDateWhichIsMostImportantToYou"

lol

Please, Atlassian, write up a "Feature Request" for me since it is not a 'bug' cause you have that caveat in the doc.

 

Thanks

Steph

Stephanie Beach
Contributor
August 1, 2018

btw: I don't like this solution. But it's what we have to deal with at the moment.

Like eilon_elphi likes this
Nehal February 22, 2023

@Stephanie Beach  - How did you order the release versions ? I couldn't find an option to order the released fixversions.

Danny
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.
June 12, 2023

Hi @Nehal ,

You have to not order the columns by selecting the header, e.g. Start date, Release date, Description. 

If you do that then you cannot drag and drop the versions to reorder them. 

I would personally prefer that latestReleasedVersion() respects the release date. If multiple versions in the project had the same release date then, in my use case, all issues with either of the the fix versions with the same release date that is the latest would appear. 

Thanks,
Danny

Like eilon_elphi likes this
eilon_elphi August 14, 2023

@Stephanie Beach you cracked me up:

"latestReleaseOnTheReleasePageAndBeSureYourOrderIsCorrectBecauseWeIgnoreTheActualReleaseDateWhichIsMostImportantToYou"

 

I've been losing sleep over this problem for a few days now. Thx for bringing it up (in 2018 no less). Surprised it is still the case.

 

@Danny thx for your comment. I didn't know this was drag and drop.

0 votes
Michael
Contributor
October 9, 2018

I just wanted to add my two cents. 

I 100% agree with you- this is just silly. 

The problem for me is that when I release a version, it adds it to the bottom of the list, therefore, this query will never consider it as the latest released version but instead, the earliest released version. I have an automated email scheduled to go out when a version is released and to pull data for the latest release version, but includes the wrong version because of the way Jira decides to order the released version by default.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events