Unable to create task from REST Client :
![]()
Hi
We are working with RTC 4.0.6 version . Rest Client Query : headers given are content-type, accept ,X-Jazz-CSRF-Prevent Body is: <?xml version="1.0" encoding="UTF-8"?<rdf:RDF xmlns:oslc_pl="http://open-services.net/ns/pl#" xmlns:rtc_ext="http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/" xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc_cmx="http://open-services.net/ns/cm-x#" xmlns:acp="http://jazz.net/ns/acp#" xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oslc="http://open-services.net/ns/core#"> <oslc_cm:ChangeRequest> <dcterms:title>PDC AB10</dcterms:title> <rtc_cm:Category rdf:resource="https://rb-alm-04-p.de.bosch.com/ccm/resource/itemOid/com.ibm.team.workitem.Category/_xMXDsNUoEeOo5pTUcJs9fw"/> </oslc_cm:ChangeRequest> </rdf:RDF> I get the error : <oslc_cm:error> <oslc_cm:status>403</oslc_cm:status>
</oslc_cm:error>
Pls let me know the problem
Thank you .
|
One answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Oct 21 '14, 11:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You don't provide all the attributes RTC desires and therefore the save operation is prevented.
The error 'Save Work Item' failed. Preconditions have not been met: The 'Summary' attribute needs to be set (work item <03:46:06>).is pretty clear to read. You will also not be able to create a work item and save it without a summary in any of the UI's. I would suggest to understand the required attributes and to provide the required data. |