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

This widget could not be displayed.

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!!!!

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

203 views 1 3
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