How to add Columns to Issues in Epic Panel

RShah August 23, 2016

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

1 vote
Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 9, 2018

Hello,

There is another way  to  do  this .

Andreas Plathow February 15, 2018

Nice teaser!

Can you please tell us how?

Moses Thomas
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 23, 2018

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
RShah August 24, 2016

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.  
0 votes
Steve Behnke [DiscoverEquip.com]
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.
August 24, 2016

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.

0 votes
RShah August 24, 2016

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

0 votes
Steve Behnke [DiscoverEquip.com]
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.
August 24, 2016

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

0 votes
RShah August 24, 2016

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

0 votes
Steve Behnke [DiscoverEquip.com]
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.
August 24, 2016

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

0 votes
RShah August 24, 2016

We are using JIRA Cloud.

0 votes
Steven F Behnke
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.
August 23, 2016

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

Suggest an answer

Log in or Sign up to answer