Programatically link work items - How & Where to start
Hi. I am trying to programatically create a plugin to RTC 1.0.1.1 and have set up my environment using the tutorial on https://jazz.net/wiki/bin/view/Main/ComponentDevelopmentSetup. I have also gone through the tutorial to programatically create a work item (https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation). But now I would like to programatically do more with work items - specifically link them (e.g., parent/child relationship, or any of the other linking relationships). I have also read the post at https://jazz.net/forums/viewtopic.php?t=2796 and any links it points to, but i'm still not clear on where to start. So my specific questions are:
1. How do I programatically link work items (i.e. is there a tutorial or API docs/javadocs explaining this)? 2. Are there JavaDocs available for the RTC 1.0.1.1 SDK classes? Thanks in advance for any help, Jeff |
4 answers
|
test I really hope "test" is not the answer. Wangjq, I see you have an ibm.com email address and I hope this is not considered handled now that someone has replied. -Jeff |
1. How do I programatically link work items (i.e. is there a tutorial Please take a look at IWorkItemReferences and its JavaDoc. An example would be: IEndPointDescriptor endpoint= WorkItemEndPoints.ATTACHMENT; IWorkItemReferences references= workingCopy.getReferences(); IItemReference reference= WorkItemLinkTypes.createAttachmentReference(attachment); references.add(endpoint, reference); 2. Are there JavaDocs available for the RTC 1.0.1.1 SDK classes? I am not sure if we expose the generated JavaDoc somewhere. You may need to use the JavaDoc in the source. -- Regards, Patrick Jazz Work Item Team |
1. How do I programatically link work items (i.e. is there a tutorial Please take a look at IWorkItemReferences and its JavaDoc. An example would be: IEndPointDescriptor endpoint= WorkItemEndPoints.ATTACHMENT; IWorkItemReferences references= workingCopy.getReferences(); IItemReference reference= WorkItemLinkTypes.createAttachmentReference(attachment); references.add(endpoint, reference); 2. Are there JavaDocs available for the RTC 1.0.1.1 SDK classes? I am not sure if we expose the generated JavaDoc somewhere. You may need to use the JavaDoc in the source. -- Regards, Patrick Jazz Work Item Team Thanks for the reply. Regarding the source, I downloaded the RTC source. However there are hundreds of "src.zip" files, each containing source code for different packages. Is there an easier way, short of manually unzipping all of these zip files individually, to be able to get all the source code (e.g., in a form that it will compile and therefore, I can browse it in Eclipse and generate the JavaDocs)? -Jeff |
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.