Finding the Jazz server in Team Artifacts Navigator for a Do
Hi Y'all,
I've extended the Team Artifacts Navigator and added a new Domain. When a user selects one of the
new domain objects they can right click and open a wizard. That wizard needs to know what Jazz
server the domain object is residing on. I can get the team and project areas (through the tree
path), but I can't seem to find the hostname and port for the jazz server. Is there an easy way to
find this information with storing it directly in the domain object itself?
Thanks in advance!
--Stephen
I've extended the Team Artifacts Navigator and added a new Domain. When a user selects one of the
new domain objects they can right click and open a wizard. That wizard needs to know what Jazz
server the domain object is residing on. I can get the team and project areas (through the tree
path), but I can't seem to find the hostname and port for the jazz server. Is there an easy way to
find this information with storing it directly in the domain object itself?
Thanks in advance!
--Stephen
2 answers
Hi Y'all,
I've extended the Team Artifacts Navigator and added a new Domain.
When a user selects one of the new domain objects they can right click
and open a wizard. That wizard needs to know what Jazz server the
domain object is residing on. I can get the team and project areas
(through the tree path), but I can't seem to find the hostname and port
for the jazz server. Is there an easy way to find this information with
storing it directly in the domain object itself?
Thanks in advance!
When you have an item handle you can get at the repository it came from
using getOrigin():
IProjectAreaHandle projectArea=...;
ITeamRepository repository= (ITeamRepository) projectArea.getOrigin();
--
Regards,
Patrick
Jazz Work Item Team
Thanks, Patrick!
Patrick Streule wrote:
Patrick Streule wrote:
Hi Y'all,
I've extended the Team Artifacts Navigator and added a new
Domain. When a user selects one of the new domain objects they can
right click and open a wizard. That wizard needs to know what Jazz
server the domain object is residing on. I can get the team and
project areas (through the tree path), but I can't seem to find the
hostname and port for the jazz server. Is there an easy way to find
this information with storing it directly in the domain object itself?
Thanks in advance!
When you have an item handle you can get at the repository it came from
using getOrigin():
IProjectAreaHandle projectArea=...;
ITeamRepository repository= (ITeamRepository) projectArea.getOrigin();