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

There is no value set for TeamArea using REST API.

Hi,

I installed RTC Express-C as my server and used RTC SDK at: https://jazz.net/wiki/bin/view/Main/RtcSdk20 to query a work item. Is there anyone know why there is no value set for team area in work item xml returned as that shown in web ui? Am I doing some wrong or is this a defect in REST API or else? Thanks for your help.

Below is the url I used and the xml page I received. Note that <rtc_cm:teamArea/> is returned in xml page.

Url:
https://localhost:9444/jazz/oslc/workitems/70.xml

xml page:

<?xml version="1.0" encoding="UTF-8"?>
<oslc_cm:ChangeRequest xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:oslc_disc="http://open-services.net/xmlns/discovery/1.0/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/"
xmlns:jp="http://jazz.net/xmlns/prod/jazz/process/1.0/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
xmlns:oslc_rm="http://open-services.net/xmlns/rm/1.0/">
<rtc_cm:filedAgainst rdf:resource="https://almserver2.us.oracle.com:9444/jazz/resource/itemOid/com.ibm.team.workitem.Category/_BUeKgnqTEd-PPMIcQ3bG2Q"/>
<rtc_cm:correctedEstimate>50400000</rtc_cm:correctedEstimate>
<dc:created>2010-07-15T20:57:40.213Z</dc:created>
<dc:creator rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/users/__gqrkHqHEd-v4-x185sYtg"/>
<dc:description>Test New defect with all values set description</dc:description>
<rtc_cm:due>2010-07-29T19:00:00.000Z</rtc_cm:due>
<rtc_cm:estimate>216000000</rtc_cm:estimate>
<dc:identifier>70</dc:identifier>
<rtc_cm:comments oslc_cm:collref="https://almserver2.us.oracle.com:9444/jazz/oslc/workitems/70/rtc_cm:comments"/>
<oslc_cm:priority rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/enumerations/__ZY94HqSEd-PPMIcQ3bG2Q/priority/priority.literal.l02"/>
<rtc_cm:resolution/>
<oslc_cm:severity rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/enumerations/__ZY94HqSEd-PPMIcQ3bG2Q/severity/severity.literal.l2"/>
<rtc_cm:state rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/workflows/__ZY94HqSEd-PPMIcQ3bG2Q/states/com.ibm.team.workitem.defectWorkflow/1"/>
<dc:subject>test, defect</dc:subject>
<rtc_cm:modifiedBy rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/users/_lxqe4I6gEd-XupxnTkREsw"/>
<rtc_cm:ownedBy rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/users/__gqrkHqHEd-v4-x185sYtg"/>
<rtc_cm:projectArea rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/projectareas/__ZY94HqSEd-PPMIcQ3bG2Q"/>
<rtc_cm:resolvedBy rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/users/_YNh4MOlsEdq4xpiOKg5hvA"/>
<dc:title>Test New defect with all values set</dc:title>
<rtc_cm:plannedFor rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/iterations/__0EHsXqSEd-PPMIcQ3bG2Q"/>
<rtc_cm:timeSpent>25200000</rtc_cm:timeSpent>
<dc:type rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/types/__ZY94HqSEd-PPMIcQ3bG2Q/defect"/>
<rtc_cm:teamArea/>
</oslc_cm:ChangeRequest>



Winson

0 votes



2 answers

Permanent link
If there is information that you want through the REST API that is not
currently available (and I agree that the Team Area is a very reasonable
thing to want), then you'd want to submit an enhancement work item for
that extension. It is of course reasonable to query the forum first, to
see if there is some way of obtaining it that wasn't obvious to you.
If you hear nothing in a few days from the forum, I'd suggest submitting
the work item.

Cheers,
Geoff

On 8/17/2010 3:07 PM, wenhsinl98029 wrote:
Hi,

I installed RTC Express-C as my server and used RTC SDK at:
https://jazz.net/wiki/bin/view/Main/RtcSdk20 to query a work item. Is
there anyone know why there is no value set for team area in work item
xml returned as that shown in web ui? Am I doing some wrong or is
this a defect in REST API or else? Thanks for your help.

Below is the url I used and the xml page I received. Note that
rtc_cm> is returned in xml page.

Url:
https://localhost:9444/jazz/oslc/workitems/70.xml

xml page:

?xml version="1.0" encoding="UTF-8"?
oslc_cm:ChangeRequest
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:oslc_disc="http://open-services.net/xmlns/discovery/1.0/"
xmlns:dc="http://purl.org/dc/terms/"
xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/"
xmlns:jp="http://jazz.net/xmlns/prod/jazz/process/1.0/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:calm="http://jazz.net/xmlns/prod/jazz/calm/1.0/"
xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/"
xmlns:oslc_rm="http://open-services.net/xmlns/rm/1.0/"
rtc_cm:filedAgainst
rdf:resource="https://almserver2.us.oracle.com:9444/jazz/resource/itemOid/com.ibm.team.workitem.Category/_BUeKgnqTEd-PPMIcQ3bG2Q"/
rtc_cm:correctedEstimate>50400000</rtc_cm>2010-07-15T20:57:40.213Z</dc>Test New defect with all values set
description</dc>2010-07-29T19:00:00.000Z</rtc_cm>216000000</rtc_cm>70</dc>test, defect</dc>Test New defect with all values set</dc>25200000</rtc_cm:timeSpent
dc:type
rdf:resource="https://almserver2.us.oracle.com:9444/jazz/oslc/types/__ZY94HqSEd-PPMIcQ3bG2Q/defect"/
rtc_cm:teamArea/
/oslc_cm:ChangeRequest



Winson

0 votes


Permanent link
Hi,

Thanks for the response. Below is the defect I created for this issue.

http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=126917

Winson

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,950

Question asked: Aug 17 '10, 3:02 p.m.

Question was seen: 8,874 times

Last updated: Aug 17 '10, 3:02 p.m.

Confirmation Cancel Confirm