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

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

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?

0 votes



One answer

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

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: Oct 06 '14, 2:53 p.m.

Question was seen: 4,332 times

Last updated: Oct 07 '14, 3:30 a.m.

Confirmation Cancel Confirm