Would be great to see how much remaining time there was by using the remaining estimate field. If some issues have been worked on but then carried over across multiple sprints then the Original estimate does not help as it is only the remaining estimate which accurately reflects how much work is left to be done.
Community moderators have prevented the ability to post new answers.
Hi Ben,
You can add the following javascript into the JIRA annoucement 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 actions = AJS.$(row).find('td.issue_actions'); var field = data.fields.customfield_11401; var value = ''; if (field != null){ value = field.value; if(value != null){ console.log('Value - ' + value); } } AJS.$(actions).before('<td class="nav">' + value + '</td>'); <!-- Remaining / Estimate --> var timing = ''; if(timing != undefined){ timing = timing = data.fields.timetracking.remainingEstimate.replace(' ',''); var origEstimate = data.fields.timetracking.originalEstimate; if(origEstimate != undefined){ timing = timing + '/' + origEstimate.replace(' ',''); } } AJS.$(actions).before('<td class="nav">' + timing + '</td>'); }); }); }); </script>
I am not sure if it works for JIRA7 yet but this works for me in JIRA 6.4.4
Hope this helps!
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I forgot to mention that the script also includes the possibility to add the value of a custom field. E.g my custom field was customfield_11401
so just replace that with the correct id of the custom field to display that information as well in the Epic, in the linked issues table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.