It's all about the answers!

Ask a question

Execute a command/script after updating a work item


Mostafa Radwan (1158) | asked Aug 18 '13, 10:24 a.m.
Hi Folks,

 I'm integrating RTC with another system and would like to be able to run a command/script after clicking on the "Save" button for any Work Item. Is there a server plug-in to do that ? I'm using RTC v3.0.0.1

Regards,
 Mostafa

One answer



permanent link
sam detweiler (12.5k6195201) | answered Aug 18 '13, 10:38 a.m.
No, there is nothing builtin to do that.

you could write an extension in javascript, but I don't know if it can kick off perl or something like that.
you could certainly do it with a Java extension.

this article shows a Java extension (participant) that launches a perl script.
http://www.ibm.com/developerworks/rational/library/integrate-perforce-rational-team-concert/index.html?ca=drs-

Comments
Mostafa Radwan commented Aug 19 '13, 2:03 a.m.

Thanks...That's very helpful.

I will check it out


Ralph Schoon commented Aug 19 '13, 6:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you are new to this you might also want to check: https://rsjazz.wordpress.com/ where I try to provide examples I have come across. What you are trying to do is a "Follow Up Action" or "Participant".

It would also be interesting to understand what you want to do on save. There might be better ways to do what you want, dependent on if you want to be able to fail the safe or have a better user experience.


Mostafa Radwan commented Aug 19 '13, 11:55 a.m.

Thanks Ralph.

That's so helpful. I read your blog everyday and it's my favorite tutorial by far on RTC!

Regards,
 Mostafa

Your answer


Register or 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.