It's all about the answers!

Ask a question

Invoke a rest based service when saving an RTC work item from javascript


Tim Hundley (145) | asked Oct 06 '14, 2:53 p.m.

My question appears to be very simple but I am having a hard time getting a straight answer.  I have a custom work item in RTC.  When the work item is changed to a certain state by the user, I want to automatically invoke a rest based service.  I assumed this would be done from a snippet of javascript that I add during the customization of the work item.

I just want to know if this is possible and if so, how do I do it.  Are there examples anywhere?

One answer



permanent link
Donald Nong (14.5k314) | answered Oct 06 '14, 8:23 p.m.
If you are using script-based attribute customization, you may consider using dojo.xhrGet or some other functions within dojo/request, and then you would also need to parse the result which is in either XML or JSON. Due to the limitation of script-based attribute customization, I am not sure whether it can actually work though.

Your answer


Register or to post your answer.