Skip to content

Instantly share code, notes, and snippets.

@tirams
Created January 19, 2012 19:29
Show Gist options
  • Save tirams/1641990 to your computer and use it in GitHub Desktop.
Save tirams/1641990 to your computer and use it in GitHub Desktop.
extract data from Rally views
// extract the stories from rally list
//jQuerieze the page first to use it
var stories=""; rows = jQuery('#storycard_tps tr').each(function(ind, e) {
var vals={}; $(e).find('td').each(function(indt,f) {
if (f.className.indexOf('idstring') != -1)
stories += f.innerText + ",";
else if (f.className.indexOf('name0') !=-1)
stories += f.innerText + ",";
else if (f.className.indexOf('owner') !=-1)
stories += f.innerText + "\n";
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment