How to create a draft work item on Jazz Foundation (JTS v6)?
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 <prerequisites> in plugin.xml.</oslc:message> <oslc:statusCode>500</oslc:statusCode> |
Accepted answer
Lori
Looks like you found a defect and a regression. Thanks https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=353253 Lori Ruffing selected this answer as the correct answer
|
One other answer
Ralph Schoon (63.6k●3●36●46)
| 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)
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.
|
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.