Creation and deletion of RTC work item tags witn API
Hi everybody!
Could somebody help me with API for creation and deletion the tags in Rational Team Concert? Is it possible? I'm wondering for any information about API both at the server side in a typical follow-up action extension and with REST API. Thank you very much in advance for any recommendations and references! |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 08 '14, 8:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
For the Java API - regardless if client or server, it should work like this:
IWorkItem workItem = workingCopy.getWorkItem(); ListIn the REST API I would expect you have to just add a new tag to the list and save the resource with all the data. I have not tested the code, but it is analogue to several other cases. You would save the work item with the usual means e.g. using the operation pattern or work item save on client or server. Dmitry A. Lesin selected this answer as the correct answer
Comments
Dmitry A. Lesin
commented Nov 22 '14, 2:22 a.m.
As for REST API, I was able to successfully update a work item with tags. Next, I put the excerpts from log:
Data: <?xml version="1.0" encoding="UTF-8"?>
|
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.