It's all about the answers!

Ask a question

Filed against and Planned for in work item using oslc 2.0


Sudipto Sarkar (631043) | asked Apr 17 '15, 8:25 a.m.
Hi,

 I am creating a work item using oslc 2.0. But I am not able to set "Filed against" and "planned for" field. Please help me what is the tag for filed against and planned for>?

Thanks,
Sudipto

One answer



permanent link
Donald Nong (14.5k414) | answered Apr 20 '15, 12:14 a.m.
 The tags should be <rtc_cm:filedAgainst> and <rtc_cm:plannedFor>.

Comments
Sudipto Sarkar commented Apr 20 '15, 7:17 a.m.

Hi Donald,
It is not working. My category name is: AR31_15.01.00_SW_140273.
and I am setting like:
<rtc_cm:filedagainst>AR31_15.01.00_SW_140273</rtc_cm:filedagainst>

Am i missing something?

Sud


Kevin Ramer commented Apr 20 '15, 3:52 p.m. | edited Apr 20 '15, 3:58 p.m.

I think category is going to be slightly more complex than most attributes.
e.g. looking at an existing work item with RESTClient:

  •    "rtc_cm:filedAgainst":
  •    {
  •        "rdf:resource": "https://rtp-rtc8:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/_lXXJIL_REeGrZq5uHBDALA"
  •    }
  • </pre>
    

    I'm sure there's a way to get the OSLC - ish versions of the desired category....

    See this post:  https://jazz.net/forum/questions/119980/how-can-i-find-a-filed-againstcategory-by-following-through-rootservices

    Your answer


    Register or to post your answer.