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

REST : Creating a WI with a list of subscribers.

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.

0 votes



One answer

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

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,948
× 480

Question asked: Nov 05 '11, 5:24 a.m.

Question was seen: 6,201 times

Last updated: Jul 29 '13, 2:54 a.m.

Confirmation Cancel Confirm