I want to create a filter that lists all of my unreleased versions ordered by release date. I don't see "release date" field in the column picker. I do see "due date" but we don't use that column. What is the correct method / syntax I am looking for something like:
fixVersion in unreleasedVersions() order by release date desc
Thanks, that is a Due Date sort but I am looking for Release date. I did find this link in the link you sent:
https://jira.atlassian.com/browse/JRASERVER-22640 - from 2010!
Looks like I can accomplish using scriptrunner. I will test it out
package com.onresolve.jira.groovy.test.scriptfields.scripts
import com.atlassian.jira.component.ComponentAccessor
def versionManager = ComponentAccessor.getVersionManager()
def versions = versionManager.getVersions(issue.projectObject)
def lowestFixVersion = issue.fixVersions.findAll({v -> !v.released}).min({a,b -> a.releaseDate <=> b.releaseDate})
def releaseDate = lowestFixVersion?.releaseDate
return releaseDate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yogesh Mude , I could not figure it out and gave up on it. I know the code exists as it is on the Releases page. But I just wanted to roll up all my projects on a single page.
I have been using the dashboard calendar widget for this purpose until someone can provide a solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.