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

Finding ITeamArea for a repository connection - 1.0 M6a

Hello,
Previously IProcessItemService.findTeamAreas(IContributor,
IProjectAreaHandle, Collection, IProgressMonitor) used to return
correctly all the TeamAreas for a connection - in 1.0 M6a it returns
null. Has the semantics of the API changed, or is the IProjectAreaHandle
parameter required?

Is it possible to find the IProjectArea, given the UUID of a component,
baseline or stream?
Thanks in advance,
Regards,
Sri.

0 votes



3 answers

Permanent link
The second question should have been

Is it possible to find the ITeamArea, given the UUID of a component,
baseline or stream?



Srimanth Gunturi wrote:
Hello,
Previously IProcessItemService.findTeamAreas(IContributor,
IProjectAreaHandle, Collection, IProgressMonitor) used to return
correctly all the TeamAreas for a connection - in 1.0 M6a it returns
null. Has the semantics of the API changed, or is the IProjectAreaHandle
parameter required?

Is it possible to find the IProjectArea, given the UUID of a component,
baseline or stream?
Thanks in advance,
Regards,
Sri.

0 votes


Permanent link
You should still be able to pass in null for the project area to
retrieve all team areas.

The user editor uses this API to show all teams that a user belongs to.
On the latest code this works, which says that API appears to still be
working as expected.

Also, this API should never return null. It should return an empty
array. In my read of the code, I don't see a path to a null return
value. If you can reproduce this (preferrably, on a recent build),
please file a defect against the Process component.

--
Jared Burns
Jazz Process Team

Srimanth Gunturi wrote:
Hello,
Previously IProcessItemService.findTeamAreas(IContributor,
IProjectAreaHandle, Collection, IProgressMonitor) used to return
correctly all the TeamAreas for a connection - in 1.0 M6a it returns
null. Has the semantics of the API changed, or is the IProjectAreaHandle
parameter required?

0 votes


Permanent link
Hello,
I have opened workitem 54886 to track this problem.
Thanks for mentioning about the user editor as even that shows the same
symptoms.
Regards,
Sri.



Jared Burns wrote:
You should still be able to pass in null for the project area to
retrieve all team areas.

The user editor uses this API to show all teams that a user belongs to.
On the latest code this works, which says that API appears to still be
working as expected.

Also, this API should never return null. It should return an empty
array. In my read of the code, I don't see a path to a null return
value. If you can reproduce this (preferrably, on a recent build),
please file a defect against the Process component.

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

Question asked: May 01 '08, 8:48 p.m.

Question was seen: 7,181 times

Last updated: May 01 '08, 8:48 p.m.

Confirmation Cancel Confirm