Skip to content

Instantly share code, notes, and snippets.

@grok
Created October 24, 2014 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grok/e55e4ae71064a708c0d3 to your computer and use it in GitHub Desktop.
Save grok/e55e4ae71064a708c0d3 to your computer and use it in GitHub Desktop.
JIRA -- Subtasks get remaining hours.
jQuery('.issuerow .progress').click(function() {
var estimates = jQuery(this).find('img');
var hours = '';
jQuery(estimates).each(function() {
if(typeof(jQuery(this).attr('title')) != 'undefined') {
hours = hours + jQuery(this).attr('title') + "\n";
}
});
alert(hours);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment