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
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 :)
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.
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
btw: I don't like this solution. But it's what we have to deal with at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stephanie Beach - How did you order the release versions ? I couldn't find an option to order the released fixversions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.