It's all about the answers!

Ask a question

How to create a draft work item on Jazz Foundation (JTS v6)?


Lori Ruffing (1737) | asked Mar 27 '15, 6:56 p.m.
curl -D headers -k -b %COOKIES% -H "Content-Type: application/rdf+xml" -H "Accept: application/rdf+xml" -H "OSLC-Core-Version: 2.0" -X POST -d @newdefect %HOST%/oslc/contexts/_Q2fMII8EEd2Q-OW8dr3S5w/drafts/workitems

where HOST is: https://jazz.net/jazz
and "newdefect" file contains:
<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">
    <dcterms:title rdf:parseType="Literal">Sample Work Item</dcterms:title>
    <dcterms:type>defect</dcterms:type>
  </rdf:Description>
</rdf:RDF>

Fails with:
    <oslc:message>The service 'com.ibm.team.workitem.service.internal.oslc.resources.WorkItemDraftsCollectionResourceHandler@34bd77bd' failed to find the required service 'interface com.ibm.team.workitem.common.IConfigurationManagementProce
ssService'.  Check &lt;prerequisites&gt; in plugin.xml.</oslc:message>
    <oslc:statusCode>500</oslc:statusCode>

Accepted answer


permanent link
Rosa Naranjo (2.9k11421) | answered Apr 14 '15, 3:44 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Lori Ruffing selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (57.1k23642) | answered Mar 31 '15, 2:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 31 '15, 2:41 a.m.
I am not convinced that JTS has any work item capabilities. This is a capability that is provided by RTC and not JTS.

Comments
Lori Ruffing commented Mar 31 '15, 1:37 p.m.

I think my terminology might be wrong. I used to be able to create a draft work item on the Jazz Foundation RTC project until recently (at this URL: https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.dashboard.viewDashboard)
I noticed that the server has been upgraded recently (see below, build dates are 20150312) so I thought that might be why my drafts are failing creation.

About the Change and Configuration Management Application
Version: 6.0 M10  Build Information    Version    Build ID
Change and Configuration Management - Core Libraries    6.0 M10   RTC-I20150312-1248
Jazz Foundation - Core Libraries    6.0 M10    RJF-I20150312-1131
About the Rational Jazz Team Server
Version: 6.0 M10 Build Information    Version    Build ID
Jazz Foundation - Core Libraries    6.0 M10    RJF-I20150312-1131


Ralph Schoon commented Apr 01 '15, 3:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As far as I know that is a life development project and it is updated like our other life development servers to self host the latest milestones.

If you try to create the work items for a business reason, I'd suggest to contact the team running the servers. If this is for testing purposes only, I'd suggest to set up your own test server based on Derby/Tomcat.

Your answer


Register or to post your answer.