It's all about the answers!

Ask a question

REST : Creating a WI with a list of subscribers.


Nagesh Subrahmanyam (771211) | asked Nov 05 '11, 5:24 a.m.
edited Jul 29 '13, 2:54 a.m. by Dinesh Kumar B (4.1k413)
How do I create a work-item using REST API with a list of subscribers known in advance ?

I am interested in creating a work-item via REST API as described in this article using XML payload. (I was able to convert that example to use XML instead of JSON as shown in the article.) When I look into the XML of an existing WI (using https://HOST/jazz/oslc/workitem/9999.xml), I see that the list of subscribers is chained to another URL with the WI number in the URL. I am unable to post the URL as it gets whacked out when I submit the post.

When sending the POST request to create the WI, I wouldn't be knowing the WI number in advance, obviously.

One answer



permanent link
Anthony Kesterton (7.5k9180136) | answered Nov 06 '11, 5:23 p.m.
JAZZ DEVELOPER
How do I create a work-item using REST API with a list of subscribers known in advance ?

I am interested in creating a work-item via REST API as described in this article using XML payload. (I was able to convert that example to use XML instead of JSON as shown in the article.) When I look into the XML of an existing WI (using https://HOST/jazz/oslc/workitem/9999.xml), I see that the list of subscribers is chained to another URL with the WI number in the URL. I am unable to post the URL as it gets whacked out when I submit the post.

When sending the POST request to create the WI, I wouldn't be knowing the WI number in advance, obviously.


Hi

Apologies, I don't know the answer but you may want to post this in the "Extending RTC" forum - along with info about the version of RTC you have installed.

regards

anthony

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.