Skip to content

Instantly share code, notes, and snippets.

@dennishall1
Created December 1, 2016 21:03
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 dennishall1/ffedcb1ab630cda8b1318082e397085a to your computer and use it in GitHub Desktop.
Save dennishall1/ffedcb1ab630cda8b1318082e397085a to your computer and use it in GitHub Desktop.
Get a list of sprint story #s + titles -- convenient to copy/paste into planning poker
// inspect the dom to obtain the sprintId, and update it below
sprintId = 267;
stories = [];
$$('[data-sprint-id="' + sprintId + '"] .ghx-issue-content').forEach(function(item){
stories.push([
item.querySelector('.ghx-key').innerText,
item.querySelector('.ghx-summary').innerText
].join(' '));
});
console.log(stories.join('\n'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment