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

Integrate project scripts with RTC

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
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

0 votes

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

Question asked: Sep 28 '11, 5:52 a.m.

Question was seen: 6,008 times

Last updated: Sep 28 '11, 5:52 a.m.

Confirmation Cancel Confirm