Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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. 

3 votes


Accepted answer

Permanent link
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. 
Nick Edgar selected this answer as the correct answer

0 votes

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: Idle
  jcb.sorbld19.2: Busy
  jcb.sorbld19.3: Idle
  jcb.sorbld28: Inactive
  jcb.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. 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927
× 411
× 169
× 6

Question asked: May 07 '14, 4:04 p.m.

Question was seen: 7,347 times

Last updated: May 12 '15, 3:53 a.m.

Confirmation Cancel Confirm