How do you add a column to "Issues in Epic" panel?

Phyllis Hauner Morris January 11, 2018

Currently when I view an ticket for an epic, I can see all of the issues listed within the epic. I see the ticket number, title, icon depicting the type of issue, status, and the assignee. I need to also see the resolution of the ticket in this list. How can I do this?

1 answer

0 votes
Iev Strygul March 8, 2018

 

You can try to put JS code in announcement banner.

 Here is the code to add customfield:

<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_10600;
  console.log('Value - ' + value);
  var actions = AJS.$(row).find('td.issue_actions');
  AJS.$(actions).before('<td class="nav">' + value + '</td>');
 });
});

});
</script>

You may want to try to use resolution instead of the customfield

Suggest an answer

Log in or Sign up to answer