It's all about the answers!

Ask a question

Problem with retrieving the resource representation


Case Taintor (1462116) | asked Jun 28 '10, 6:05 p.m.
I'm following the instructions on the wiki to get information about a work item. When I go to the the xml url like the one described there, the XML I get returned is:
<oslc_cm> 

<oslc_cm>404</oslc_cm>
<oslc_cm>Not found: severity.literal.l9</oslc_cm>
</oslc_cm>


I'm assuming this is because I removed the 'Unassigned' severity because, with tickets that actually need severity (this particular ticket isn't one of them), I wanted to enforce that you set it. Why is it complaining about the lack of this severity when the ticket I'm looking up doesn't have a severity required? How can I fix this? I tried going to the ticket in question and saying 'synchronize attributes' (as described here) to no avail.

One answer



permanent link
Patrick Streule (4.9k21) | answered Jun 30 '10, 4:39 a.m.
JAZZ DEVELOPER
I'm following the instructions on
the
wiki to get information about a work item. When I go to the the
xml url like the one described there, the XML I get returned is:
oslc_cm
oslc_cm>404</oslc_cm>Not found: severity.literal.l9</oslc_cm
/oslc_cm

I'm assuming this is because I removed the 'Unassigned' severity
because, with tickets that actually need severity (this particular
ticket isn't one of them), I wanted to enforce that you set it. Why
is it complaining about the lack of this severity when the ticket I'm
looking up doesn't have a severity required? How can I fix this? I
tried going to the ticket in question and saying 'synchronize
attributes' (as described
here)
to no avail.

You can find the work items with an unknown severity using a query: In
the Query Editor, use the Severity attribute, check all values, and
select the 'is not' operator.

The OSLC implementation shouldn't report these broken references as
errors. This is tracked in
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/118489

--
Regards,
Patrick
Jazz Work Item Team

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.