Created
January 19, 2012 19:29
-
-
Save tirams/1641990 to your computer and use it in GitHub Desktop.
extract data from Rally views
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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