It's all about the answers!

Ask a question

How to create a work item with discussion comments


Eduardo Carrasquero (133) | asked Jul 01 '13, 2:02 a.m.
edited Jul 01 '13, 2:08 a.m.
I want to create a work item, type: defect, with a comment in a discussion area.
I just have these lines:

POST https://rtc:9443/jazz/oslc/contexts/_gasc4Ju-Ed6cerS9lb5AWw/workitems
Content-Type: application/x-oslc-cm-change-request+xml

<oslc_cm:changerequest xmlns:dc="http://purl.org/dc/terms/"
xmlns:rtc_cm="https://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/">
<dc:title>A new Bug</dc:title>
<dc:description>This is new bug</dc:description>
<dc:type rdf:resource="https://rtc:9443/jazz/oslc/types/_gasc4Ju-Ed6cerS9lb5AWw/defect"/>
<rtc_cm:filedAgainst rdf:resource="https://rtc:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/_hckJkpu-Ed6cerS9lb5AWw"/>
</oslc_cm:changerequest>


Comments
Takehiko Amano commented Jul 01 '13, 4:06 a.m.
JAZZ DEVELOPER

Probably this will help.
 http://www.ibm.com/developerworks/rational/library/firefox-add-on-oslc-servers/

To update discussion, use oslc:discussion property.

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Jul 05 '13, 5:05 a.m.
JAZZ DEVELOPER
 Hello,
should help you.

Thanks.
Eric.

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.