Finding ITeamArea for a repository connection - 1.0 M6a
![](http://jazz.net/_images/myphoto/b701646a3aa9fb70c6c45cbbcbd38d6f.jpg)
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.
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.
3 answers
![](http://jazz.net/_images/myphoto/b701646a3aa9fb70c6c45cbbcbd38d6f.jpg)
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:
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.
![](http://jazz.net/_images/myphoto/b701646a3aa9fb70c6c45cbbcbd38d6f.jpg)
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:
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?
![](http://jazz.net/_images/myphoto/b701646a3aa9fb70c6c45cbbcbd38d6f.jpg)
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:
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.