We have a requirement to sort the displayed issues on a multiple issue picker field.
I've attempted adding the sort the customised JQL but still sorts be created / key with the newest at the top.
We are wanting to sort the displayed selectable issues on a custom field which contains numbers, so that the highest number is as at the top.
we already have the custom fields displayed.
renderOptionHtml = { String displayValue, Issue issue, Closure<String> highlight ->
OutputFormatter.markupBuilder {
i('Service Rank: ' + issue.getCustomFieldValue(OurFields.serviceRankField))
mkp.yield(' - ')
mkp.yieldUnescaped(displayValue)
}
}