It's all about the answers!

Ask a question

Getting a reference to or instantiate a IProjectAreaHandle o


Ahmed Hadad (106187) | asked May 07 '08, 9:45 a.m.
I have posted this question in the extend newsgroup too.

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

7 answers



permanent link
Dmitry Karasik (1.8k11) | answered May 07 '08, 9:45 a.m.
JAZZ DEVELOPER
On Wed, 07 May 2008 08:45:30 -0500, Ahmed Hadad \(IBM\) wrote:

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.


Are you looking for any specific project area, or all of them?

- Dmitry

permanent link
Dmitry Karasik (1.8k11) | answered May 07 '08, 9:45 a.m.
JAZZ DEVELOPER
Yes, I will be looking for a specific project area.

To answer your question it would help to know what the criteria are.

- Dmitry

permanent link
Ahmed Hadad (106187) | answered May 07 '08, 10:21 a.m.
Yes, I will be looking for a specific project area.

--
Sincerely,

Ahmed Hadad

"Dmitry Karasik" <dkarasik> wrote in message
news:fvsd30$qg6$2@localhost.localdomain...
On Wed, 07 May 2008 08:45:30 -0500, Ahmed Hadad \(IBM\) wrote:

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.


Are you looking for any specific project area, or all of them?

- Dmitry

permanent link
Ahmed Hadad (106187) | answered May 07 '08, 10:53 a.m.
I should have specified that my application is not a plug-in. My application
will not be running in the Jazz environment.

--
Sincerely,

Ahmed Hadad

"Ahmed Hadad (IBM)" <ahadad> wrote in message
news:fvsdtn$l5j$1@localhost.localdomain...
Yes, I will be looking for a specific project area.

--
Sincerely,

Ahmed Hadad

"Dmitry Karasik" <dkarasik> wrote in message
news:fvsd30$qg6$2@localhost.localdomain...
On Wed, 07 May 2008 08:45:30 -0500, Ahmed Hadad \(IBM\) wrote:

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.


Are you looking for any specific project area, or all of them?

- Dmitry

permanent link
Ahmed Hadad (106187) | answered May 07 '08, 11:48 a.m.
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.

--
Sincerely,

Ahmed Hadad

"Dmitry Karasik" <dkarasik> wrote in message
news:fvshu4$qg6$4@localhost.localdomain...
Yes, I will be looking for a specific project area.

To answer your question it would help to know what the criteria are.

- Dmitry

permanent link
Mark Parry (31121711) | answered May 07 '08, 12:33 p.m.
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.

permanent link
Rafik Jaouani (5.0k16) | answered May 07 '08, 8:18 p.m.
JAZZ DEVELOPER
Check the ITeamRepository.itemManager().fetchXXXXItem methods.
These take an IItemHandle and resolve it to an IItem.

Your answer


Register or 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.