It's all about the answers!

Ask a question

Why can I no longer create a related link through the API?


0
1
Neal McKegney (551422) | asked Jun 24 '15, 12:07 p.m.
edited Jun 25 '15, 2:29 a.m. by Ralph Schoon (63.1k33645)
We have some automation between an external system (ICSW) and RTC which creates a work item through the REST API.  The java app creates a draft work item with many attributes prepopulated, including a related link to a supporting work item, that already exists.

In 4.0.7, this worked perfectly, but after we upgraded to 5.0.2, the link appears in the draft work item, but as soon as it's saved, the link vanishes.

This is how the link is added to the draft using JSON:

"rtc_cm:com.ibm.team.workitem.linktype.relatedworkitem.related":{"rdf:resource":"https:\/\/clmserver:9725\/ccm\/resource\/itemName\/com.ibm.team.workitem.WorkItem\/39738"}

Has the format changed?  Should I be creating the link differently?

One answer



permanent link
Elisabeth Carbone (616108) | answered Jul 17 '15, 3:38 a.m.
JAZZ DEVELOPER
Neal,
it seems that you run into a known defect. Please see
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/363095

/Elisabeth

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.