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


One answer

permanent link
sam detweiler (12.5k6191201) | 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.

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.

If you are new to this you might also want to check: 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!


Your answer

Register or to post your answer.