It's all about the answers!

Ask a question

"405 Method Not Allowed" error on editing an iteration via PUT


Randy Budnikas (311) | asked Nov 01 '12, 5:34 p.m.
I am accessing the API with ruby.  Here is a quick sample of the call that fails:

 client.put('https://jazz.lan.flt:9443/jazz/oslc/iterations/_malw4OX9EeCiwt-UpdvAUw',{'rtc_cm:hasDeliverable'=>true})

Here is an example of a PUT call that succeeds:

client.put("/oslc/workitems/#{item['dc:identifier']}",{'rtc_cm:subscribers'=>subscribers})

Is this a url-specific webserver restriction on the iterations url (not a websphere expert), or is this an error which really means "you don't have permissions to edit iterations"?

Thanks!

Accepted answer


permanent link
Takehiko Amano (1.3k3741) | answered Nov 05 '12, 2:53 a.m.
JAZZ DEVELOPER
Refer to this page what operations are allowed for process.
 
  https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi

I'm afraid PUT operation against iteration is not allowed at this moment. I have already filed this as enhancement request.
  https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/179352
If this is the case, put your use case or story so that the team can address it.
Randy Budnikas selected this answer as the correct answer

Comments
Randy Budnikas commented Nov 05 '12, 9:04 a.m.

 Thank you.  I've bookmarked that wiki for future reference and made a comment on the ticket. 

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.