Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:message>

'Save Work Item' failed. Preconditions have not been met: The 'Summary' attribute needs to be set (work item <03:46:06>).

</oslc_cm:message>

</oslc_cm:error>

 

Pls let me know the problem

Thank you .



0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,930

Question asked: Oct 21 '14, 10:01 a.m.

Question was seen: 3,545 times

Last updated: Oct 21 '14, 11:21 a.m.

Confirmation Cancel Confirm