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
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 Tuesday 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...

504 views 1 18
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