Changing the fields displayed within 'Issues in Epic' list

Robert Cooper November 11, 2013

Hi,

Is it possible to change the fields that display within the 'Issues in Epic' list when viewing an epic? I have a custom field on issues for team assignment (we have multiple sub-teams within the project), and it would be really helpful to display this next to each of the issues where they are listed on the epic issue ticket.

Thanks,

Rob

2 answers

1 accepted

1 vote
Answer accepted
Renjith Pillai
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.
November 16, 2013

Put this into announcement banner (remember the change the custom field id in the script):

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

Robert Cooper December 2, 2013

Thanks for the help! Unfortunately I'm using a hosted version of Jira so it seems that scripts have been disabled.

0 votes
elizabethhannaford August 26, 2015
Hi 

Can someone please tell me exactly where I enter these details

Thanks
Ash
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.
April 11, 2017

Hi Elizabeth ,

 

Did you figured it out where to use these scripts?

Suggest an answer

Log in or Sign up to answer