How can I script Jazz/RTC using Groovy?
I have added a wiki topic showing how to run scripting type tasks against Jazz/RTC using Groovy and our Java client API: https://jazz.net/wiki/bin/view/Main/GroovyScripting
There's only one example there at the moment: a PrintTimelines.groovy script that prints the iterations for a given project area. There are some others at https://jazz.net/wiki/bin/view/Main/JRubyScripting that could be easily adapted to Groovy.
Accepted answer
Adding an "answer" so this question does not show up in the list of unanswered questions.
In particular, Nick's self answer is:
I have added a wiki topic showing how to run scripting type tasks against Jazz/RTC using Groovy and our Java client API: https://jazz.net/wiki/bin/view/Main/GroovyScripting
There's only one example there at the moment: a PrintTimelines.groovy script that prints the iterations for a given project area. There are some others at https://jazz.net/wiki/bin/view/Main/JRubyScripting that could be easily adapted to Groovy.
In particular, Nick's self answer is:
I have added a wiki topic showing how to run scripting type tasks against Jazz/RTC using Groovy and our Java client API: https://jazz.net/wiki/bin/view/Main/GroovyScripting
Comments
I've added a script that produces a report of all build engines and their status, grouped by project area.
e.g.
build engines in project area 'Jazz Foundation':…jcb.sorbld19.1: Idlejcb.sorbld19.2: Busyjcb.sorbld19.3: Idlejcb.sorbld28: Inactivejcb.sorbld29: Idle (warning - not contacted within threshold of 3 minutes)jcb.sorbld30.1: Busy...
There's also a similar script for build definitions and their status.