How to add Columns to Issues in Epic Panel

Hello,

As directed, I added  below code in Announcement Banner:

 

<script type='text/javascript'>

AJS.$(document).ready(function() {

AJS.$('#ghx-issues-in-epic-table tr').each(function(){

    console.log('Found epic table');

    var row = this;

    var issueKey = AJS.$(this).attr("data-issuekey");

    AJS.$.getJSON(AJS.contextPath() + '/rest/api/latest/issue/' + issueKey, function(data){

        console.log('Got data for - ' + issueKey);

        var value = data.fields.customfield_10212;

        console.log('Value - ' + value);

        var actions = AJS.$(row).find('td.issue_actions');

        AJS.$(actions).before('<td class="nav">' + value + '</td>');

    });

});

});

</script>

 

however I did not get field added to "Issues in Epic" Panel, instead same code appeared on the Page and through out JIRA Application, appearing like Banner. Not sure what I am missing. Can some one explain.

9 answers

Hello,

There is another way  to  do  this .

Nice teaser!

Can you please tell us how?

HI,

You can  write a  java script to  handle this and also handle  issues to  appear in  plug-in filters  but very  tricky.

best regard,

Moses 

0 votes
Steven Behnke Community Champion Aug 23, 2016

Are you using JIRA Cloud or an on-premise installation of JIRA?

We are using JIRA Cloud.

You cannot use HTML in the announcement banner in JIRA Cloud. It is restricted.

okie, so coming back to my question, How can I add Columns to Issues in Epic Panel?

It's just not configurable. There is no feature or function to modify what data is shown on the Epic Panel.

Is it a limitation from JIRA? can it be added in new releases?

There is no feature or function to modify what data is shown. If you interpret that to be a 'limitation' then yes.

There appears to be a feature suggestion here https://jira.atlassian.com/browse/JSW-14565 It has no use-cases or votes though. It would be beneficial to explain what data you're trying to show so Atlassian can read it.

There are couple of Use Cases, atleast for Our Company:

  1. Our Epic work is divided among multiple teams, and they have dependencies too, showing which team each story is assigned too, helps Managers to plan Sprint better, also it helps generate Statistics for Epic w.r.t. Team involvement.
  2. If we can gauge amount of work, we can project over all Epic Health, instead of doing it for individual Stories.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 7 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

99 views 0 0
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