Skip to content

Instantly share code, notes, and snippets.

@christo
Created December 17, 2012 05: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 christo/4316074 to your computer and use it in GitHub Desktop.
Save christo/4316074 to your computer and use it in GitHub Desktop.
jira xml scaler reads a JIRA XML backup and gives you basic stats on the number of key domain objects in the backup.
def xml = new XmlSlurper().parse(System.in)
["Issue","Project","CustomField","User","Workflow","Action"].each{
println "${it}s: ${xml[it].size()}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment