Getting a reference to or instantiate a IProjectAreaHandle o
How do a get a reference to or instantiate a IProjectAreaHandle object? If
possible, post a sample code showing this. I have a ITeamRepository object at this point. Thanks. -- Sincerely, Ahmed Hadad |
12 answers
Jared Burns (4.5k●2●9)
| answered May 07 '08, 11:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you really just want to instantiate an IProjectAreaHandle, you can do
that via IProjectArea.ITEM_TYPE.createItemHandle(...) -- Jared Burns Jazz Process Team Ahmed Hadad (IBM) wrote: How do a get a reference to or instantiate a IProjectAreaHandle object? |
What are the parameters that I need to pass in to the createItemHandle(...)
method? Is there any documentation about the client APIs, event if it is a draft? Thanks a lot. -- Sincerely, Ahmed Hadad "Jared Burns" <jared_burns> wrote in message news:fvsism$ngr$1@localhost.localdomain... If you really just want to instantiate an IProjectAreaHandle, you can do |
Can you give us a bit more context information? What do you try to
achieve? Without additional information it is hard to give a reasonable answer. Thanks, Kai Jazz Process Team Ahmed Hadad (IBM) wrote: How do a get a reference to or instantiate a IProjectAreaHandle object? |
I am writing an external application that will interact with Jazz by means
of the Jazz APIs. The application will not be running in the Jazz environment. My application will be migrating defects (workitem) from other problem tracking systems (Bugzilla, CMVC, CQ and so on) into Jazz. I have accomplish the login operation, and I have ITeamRepository object. I need to get a handle to the IProjectAreaHandle to create workitems there. From parrym, Specifically Ahmed is trying to migrate CMVC Defects to Jazz workitems using the Item Connector APIs. The architecture is similar in nature to the CQ Gateway, only this is a straight jazz application and not implemented with OSGi bundles. -- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt04o$te9$1@localhost.localdomain... Can you give us a bit more context information? What do you try to |
If a jazz server contains multiple project areas, how do you know for
which one you have to create the work items? Kai Ahmed Hadad (IBM) wrote: I am writing an external application that will interact with Jazz by means |
I will have the name or that identifies the project area at run time.
-- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt18p$tvq$2@localhost.localdomain... If a jazz server contains multiple project areas, how do you know for |
Get the process client library (IProcessClientService) and use
'findProcessArea' with a URI that you constructed based on the name. Kai Jazz Process Team Ahmed Hadad (IBM) wrote: I will have the name or that identifies the project area at run time. |
Can you, please, post some sample code? Thanks.
-- Sincerely, Ahmed Hadad "Kai-Uwe Maetzel" <kai> wrote in message news:fvt21v$u8r$1@localhost.localdomain... Get the process client library (IProcessClientService) and use |
IProcessClientService clientService =
teamRepository.getClientLibrary(IProcessClientService.class); IProcessArea area = (IProjectArea) clientService.findProcessArea( new URI(areaName), IProcessItemService.ALL_PROPERTIES, progressMonitor); Kai Jazz Process Team Ahmed Hadad (IBM) wrote: Can you, please, post some sample code? Thanks. |
Is there a way to get an IProjectArea without using any items from com.ibm.team.process.client plug-in ?
I am writing code to be delivered on top of a product that is based on Eclipse 3.2, and have narrowed down to a dependency that the team.process.client needs that is conflicting with the packages that I have... org.eclipse.xsd. Is it possible at all ? |
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.