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

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

0 votes



4 answers

Permanent link
test

0 votes


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

0 votes


Permanent link
1. How do I programatically link work items (i.e. is there a tutorial
or API docs/javadocs explaining this)?

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

0 votes


Permanent link
1. How do I programatically link work items (i.e. is there a tutorial
or API docs/javadocs explaining this)?

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

0 votes

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

Question asked: May 27 '09, 11:34 p.m.

Question was seen: 7,220 times

Last updated: May 27 '09, 11:34 p.m.

Confirmation Cancel Confirm