Integrate project scripts with RTC
2 answers
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
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
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