Why is Fix Version description not displayed?

In the JIRA field Fix Version, we have versions for multiple release types (Base, Custom, et al). I have added the release type in the Description fields for all Versions. I require the description to show in render dropdown on UI so people don't pick the wrong one for version overlaps (15.0 versus 15.0.0). Renderer only shows the number, not an associated description. Why does this not occur?


Running JIRA 5.04 (plans to upgrade to 5.1 within the next three months).

2 answers

0 vote

Did you update the description in the correct field configuration?

@Jobin Kuruvilla [Go2Group] , yes - edited descriptions for the fix versions on Versions tab in applicable project for which I'm trying to get them to show.

(Just so we're clear - the description to be shown is not the FIELD "Fix Versions" but the descriptions for individual fix versions themselves)

Ah ok. There is no option to show the version description in the dropdown. It only shows the name. You can probably do it with the help of some javascript programming.

I've tested this through the terminal and worked. It needs to be placed somewhere in the view issue https://answers.atlassian.com/questions/131271

(function() {
    var versions = {};
    if (AJS.Meta.get("issue-key")) {
        jQuery.get('/rest/api/2/project/' + AJS.Meta.get("issue-key").split("-")[0] + '/versions', function(json) {
            for (var i in json) {
                versions[json[i].id] = json[i].description;
        }).then(function() {
            console.log("Versions", versions);
            console.log("Overwriting AJS.List.prototype._renders.suggestion");
            AJS.List.prototype._renders.suggestion = function(descriptor, replacementText) {
                //adding the label as a class for testing.
                var idSuffix = descriptor.fieldText() || descriptor.label();
                var itemId = AJS.escapeHTML(AJS.$.trim(idSuffix.toLowerCase()).replace(/[\s\.]+/g, "-")),
                    listElem = AJS.$('<li class="aui-list-item aui-list-item-li-' + itemId + '"><a class="aui-list-item-link"/></li>'),
                    linkElem = listElem.children();
                if (descriptor.selected()) {
                if (this.options.hasLinks) {
                    linkElem.attr("href", descriptor.href() || "#");
                if (descriptor.styleClass()) {
                if (replacementText) {
                } else if (descriptor.html()) {
                } else {
                if (descriptor.labelSuffix()) {
                    var suffixSpan = AJS.$("<span class='aui-item-suffix' />").text(descriptor.labelSuffix());
                if (descriptor.icon() && descriptor.icon() !== "none") {
                    var icon = AJS.$('<img class="icon"  alt="" />');
                    icon.attr("src", descriptor.icon());
                // Setting title with version description
                if (versions[descriptor.value()]) {
                    descriptor.properties.title = versions[descriptor.value()];
                if (descriptor.title()) {
                    linkElem.prop('title', descriptor.title());
                } else {
                    linkElem.prop('title', linkElem.text());
                listElem.data("descriptor", descriptor);
                return listElem;

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

809 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you