It's all about the answers!

Ask a question

internalCategoryId is not a valid property for ProjectArea creating a work item


Eduardo Carrasquero (133) | asked Jun 26 '13, 5:57 p.m.
edited Jun 26 '13, 9:08 p.m.
I want to create a work item with this code:

POST https://jazz.net/sandbox06-ccm/oslc/contexts/_1xR_IKcWEeKrmbBYQFHasd/workitems

<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/" >
<rdf:Description rdf:nodeID="A0">
<rtc_cm:filedAgainst rdf:resource="https://jazz.net/sandbox06-ccm/resource/itemOid/com.ibm.team.workitem.Category/_1xR_IKcWEeKrmbBYQFHasd"/>
<dcterms:title rdf:parseType="Literal">Sample Work Item</dcterms:title>
<rtc_cm:type rdf:resource="https://jazz.net/sandbox06-ccm/oslc/types/_1xR_IKcWEeKrmbBYQFHasd/defect"/>;
</rdf:Description>
</rdf:RDF>

but the server responses:

status code 500

internalCategoryId is not a valid property for ProjectArea

what I am doing wrong?

thanks

Comments
Eric Jodet commented Jun 27 '13, 1:27 a.m.
JAZZ DEVELOPER

 Hello Eduardo,

not sure it this could be the root cause, but in the above code, you are using:
rtc_cm:filedagainst
whereas rtc_cm:filedAgainst is expected

Let me know if this helps.

Thanks.
Eric.

One answer



permanent link
Stephanie Bagot (2.1k1513) | answered Jul 08 '13, 3:21 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Looks like the category you are setting for the FiledAgainst attribute does not belong to that ProjectArea

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.