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

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 &lt;prerequisites&gt; in plugin.xml.</oslc:message>
    <oslc:statusCode>500</oslc:statusCode>

0 votes


Accepted answer

Permanent link
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

0 votes


One other answer

Permanent link
I am not convinced that JTS has any work item capabilities. This is a capability that is provided by RTC and not JTS.

0 votes

Comments

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

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

Question asked: Mar 27 '15, 6:56 p.m.

Question was seen: 4,222 times

Last updated: Apr 14 '15, 3:44 p.m.

Confirmation Cancel Confirm