Creating worktiem using Jazz Reportable Rest Api(RRA)
I am looking for a way to create workitem using Rest API.
I tried to follow the specs : Creating WorkItems But when I do a get on the url https://localhost:9443/jazz/oslc/contexts/_9BHm0EqVEd6HXO10niqZpg/workitems |
2 answers
Hi Sarath,
_9BHm0EqVEd6HXO10niqZpg is your project area id. I believe that you have the different one than in the example. You can check for your context by navigating to https://localhost:9443/ccm/oslc/workitems/1.xml Also you probably need to use /jazz/ application context: https://localhost:9443/jazz/oslc/contexts/<your-context>/workitems Let me know if it helps for you. Comments
Sarath Shasikumar
commented Apr 12 '13, 7:27 a.m.
if I am not wrong then <your-context> should be project id right?
|
Daniel Toczala (882●1●15●14)
| answered Apr 10 '13, 8:02 a.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Apr 10 '13, 8:02 a.m.
If you are attempting to create work items programatically, you should read Ralph Schoon's blog on Understanding and using the RTC Java Client API and his post on Using Expressions for Automation. The second article references the Programmatic Creation of Work Items entry in the Jazz wiki, but that is an older article so you may need to check into things and validate parts of it.
Comments
Sarath Shasikumar
commented Apr 12 '13, 7:29 a.m.
Thanks Daniel for your help.
|
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.