Skip to content

Instantly share code, notes, and snippets.

@SimonGivre
Last active January 4, 2016 19:19
Show Gist options
  • Save SimonGivre/8666926 to your computer and use it in GitHub Desktop.
Save SimonGivre/8666926 to your computer and use it in GitHub Desktop.
print JIRA Done Issues Ids
function printJIRADoneIssuesIds(){
var $doneCol = $($('.ghx-column')[$('.ghx-column').length-1]);
var $issues = $($doneCol.find('.ghx-key-link.js-detailview'));
console.log('Contains '+$issues.length+' done issues');
var result = "";
$issues.each(function(i,val){
result+=$(val).attr('title')+' ';
});
console.log('Ids:');
console.log(result);
}
// https://developer.atlassian.com/static/rest/jira/6.0.8.html#idp1333648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment