It's all about the answers!

Ask a question

OSLC: PUT to update Workitem is not working (Response 403)


0
1
Stefan Hufnagl (29411920) | asked Feb 02 '15, 2:57 a.m.
edited Feb 02 '15, 3:02 a.m.
 Hello,

I have a strange Problem with updating an existend Workitem. Every time I try it I got "Forbidden" 403 response. 
The reason for updating a Workitem is to include a Link to Artefacts. The Artefacts still exist.
BTW, it seems that some discussion about updating a Workitem are "out of date"?

Environment and preparation:
* I use "Advanced REST Client" available for Chrome Browser
* First I make a GET Request to retrieve the ETAG, Session ID and Workitem RDF body.
* I set the related Header
Accept:                          application/rdf+xml
    OSLC-Core-Version:     2.0
    If-Match:                        b735a2af-7a9c-3b79-8931-4908fb7db710
    X-Jazz-CSRF-Prevent: 74AF64300E675135C8FB6383CA9EBD58
    Content-Type:               application/rdf+xml
* Also I used the RDF "payload" recieved from the GET request.
* At the end I got a 403 forbidden, normaly a hint that the ETAG or SessenID is not correct?
* The URL for GET and PUT is:  
     https://jazzserver.ibm.com:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/2371

BTW, with DNG Artefacts I have no PUT problems.

Thx in advance

Steve

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.