Making a custom field appear under Description as opposed to under Details

Tim Pearson June 12, 2013

I have added a custom text field and moved its location on the default view so that it is underneath the Description heading hoping that it would be placed as a text box underneath this.

Unfortunately this doesn't happen and the custom field is placed under the Details section.

Is there any way to change this?

1 answer

1 vote
Renjith Pillai
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, 2013

Can suggest a hack (for JIRA 6.x) (remember to change the custom field id 10400 to what you have in your system.

<script type='text/javascript'>
AJS.$(document).ready(function() {
     var cfcopy = AJS.$('#customfieldmodule').clone(true);
     if( null != cfcopy) {
        AJS.$('li[id=rowForcustomfield_10400]').remove();
        $(cfcopy).find('li[id!=rowForcustomfield_10400]').remove();
        AJS.$('#descriptionmodule').append(cfcopy);
     }
});
</script>

Tim Pearson June 12, 2013

Thanks Renjith.

I presume this means that there is no way to do it through the UI?

Renjith Pillai
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, 2013

I think so.

Tim Pearson June 12, 2013

Ok. Thanks for your help.

Suggest an answer

Log in or Sign up to answer