It's all about the answers!

Ask a question

'Method not allowed' adding subscriber to workitem via POST


John McMeeking (633) | asked Feb 29 '12, 12:24 p.m.
I'm trying to write a python script to add a set of subscribers to a workitem doing a POST request with RTC 3.0.1.1.

URL: https://jazz04:9443/jazz/oslc/workitems/9352/rtc_cm:subscr
ibers
Data: {"rdf:resource": "https://jazz:9443/jazz/oslc/users/_n0qiEMI0Ed6zsIiu3BscPw"}
Content-Type: application/x-oslc-cm-change-request+json

This fails with: HTTP Error 405: Method Not Allowed

I've seen articles that suggest this should work:
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Adding_Links_to_a_Work_Item
https://jazz.net/forums/viewtopic.php?p=68820

Any thoughts as to what I am doing wrong?

John

Be the first one to answer this question!


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.