It's all about the answers!

Ask a question

Integrate project scripts with RTC


Aarthi Parasur Aravamudhan (11) | asked Sep 28 '11, 5:52 a.m.
Hi,
We are trying to automate few processes in our team. What we need is to run a script when a work item is created in RTC. Does RTC allow to execute scripts on creation of a work item(as a matter of fact, any trigger event)?
Thanks,
Aarthi

2 answers



permanent link
Florian Georg (19031818) | answered Sep 28 '11, 6:04 a.m.
Hi Aarthi,

out of the box, there is no such thing like a real scripting support for process operations. Writing "hooks" (as in ClearQuest) is considerably more complex in RTC... you need to write some Plug-Ins, know the RTC SDK API and extension points, deploy them on server/client, configure the process etc...

However, I'm currently working on an RTC extension that enables you to trigger arbitrary (Groovy) scripts on process operations, like "Save Work Item". While this RTC extension really just in its early stages, it can already be used for some common tasks... e.g. modify work items on trigger event etc...

If you would like to give it a try, just drop me a mail.

regards
Florian



Hi,
We are trying to automate few processes in our team. What we need is to run a script when a work item is created in RTC. Does RTC allow to execute scripts on creation of a work item(as a matter of fact, any trigger event)?
Thanks,
Aarthi

permanent link
Kevin Gu (17131) | answered Sep 29 '11, 1:13 a.m.
JAZZ DEVELOPER
Hi,
We are trying to automate few processes in our team. What we need is to run a script when a work item is created in RTC. Does RTC allow to execute scripts on creation of a work item(as a matter of fact, any trigger event)?
Thanks,
Aarthi


Hi Aarthi,

You could write your own follow-up action for "Save Work Item" operation, once you have saved the workitem, your code will run as your wish.

Here is a sample that how to contribute a follow-up action, hope it helps.
https://jazz.net/wiki/bin/view/Main/CustomPreconditionFollowup#Implement_the_Follow_up_action

Kevin
Jazz Foundation Process Team

Your answer


Register or to post your answer.