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

Plugin participant send information to another external application (Translator google)

(sorry, Translator google)

I have a plugin implemented participant, and need that on having guarded an information (example: IWorItem.getOwner ()), I sent to an external application.

Does someone know like to do it?

0 votes



2 answers

Permanent link
He wants to communicate info from the plugin to an outside RTC application.


1 vote

Comments

I'm sure that it's possible, but I don't know how to tell you how to do it. Sorry!

thanks for answer Lauren Hayward Schaefer and sam detweiler


Permanent link
I'm not sure exactly what you're asking.  If you're asking how to get the owner of a work item from inside a participant, the following code snippet should work for you:

SubMonitor progress= SubMonitor.convert(monitor, NLS.bind(Messages.WorkItemCommenter_MONITOR_ADDING_COMMENT, workItemId), 100);
IWorkItemClient workItemClient= (IWorkItemClient)teamRepository.getClientLibrary(IWorkItemClient.class);
IWorkItemWorkingCopyManager manager= workItemClient.getWorkItemWorkingCopyManager();
manager.connect(workItemHandle, IWorkItem.SMALL_PROFILE, progress.newChild(20));
IWorkItem workItem= null;
try {
WorkItemWorkingCopy copy= manager.getWorkingCopy(workItemHandle);
workItem= copy.getWorkItem();
workItem.getOwner();

If this is not the answer you were looking for, please ask again. :-)

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

Question asked: Sep 11 '12, 4:06 a.m.

Question was seen: 3,381 times

Last updated: Sep 11 '12, 9:49 a.m.

Confirmation Cancel Confirm