Is it possible to display a header for sub task section in the view-issue page for jira 5.1.x?

If you add many columns to the sub task section in view-issue page, it becomes very clumsy specially if we have multiple custom fields of the same type. Is there any way to add a header to say the name of the custom field whose value is being shown?

2 answers

1 accepted

Put this in the announcement banner

<script type='text/javascript'>
AJS.$(document).ready(function() {
$('#issuetable').prepend('<thead><tr><td></td><td>Summary</td><td>Type</td><td>Status</td><td>Assignee</td><td>Progress</td><td>Order</td><td>Actions</td></tr></thead>');

});
</script>

Hi Renjith,

I understand what you're trying to do here. Unfortunately, it didn't work for me. $('#issuetable') strangely returns null.

Also none of the dashboards are not displayed when I put this script in the announcement banner.

Regards,

Smruti

Sorry Renjith, I had missed AJS. before $('#issuetable'). It works perfectly now with AJS.$('#issuetable'). Thanks a lot. Please make the change in your answer so that I can accept it.

This works but disappears when clicking to a link to a different issue. A control-refresh of the screen brings it back again.

 

Just wanted to say THANK YOU Renjith for this brilliant and easy to implement solution!!!

Gives us just what we need.

Why this is deemed "non essential" in JIRA I have no idea....

Thanks again!!!!

0 vote

Not without changing the bundled plugin that renders the view issue page now.

Can you please provide details on which plugin to change?

jira-view-issue-plugin, I would think!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

219 views 2 11
Read article

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