How to display a custom field of the epic in the field incidents of the epic

Manuel Villegas January 25, 2019

I want to show a custom field within the epic screen, where the incidents that are inside the epic are displayed. It's posible?

 

I have painted in yellow the place where I would like to incorporate the field, it is possible

attached image

Captura2.PNG

1 answer

0 votes
Tarun Sapra
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 25, 2019
Manuel Villegas January 25, 2019

I have read the two post you indicated and I would have to add a script. But I do not know exactly where it should be added

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

Thanks 

Suggest an answer

Log in or Sign up to answer