Get connection data from Client for Eclipse IDE usin Java APIs RTC 4.0
2 answers
Unfortunately, the examples do not help me too much because I do not have access to the elements of which I could get handlle and thus to the repository.
Is it possible to get from Client list of repositories and use existing current connection with repository?
Is it possible to get from Client list of repositories and use existing current connection with repository?
Piotr,
you can not get the password as far as I can tell. However, if you work in Eclipse and that is connected, dependent on what data you have, you can use the current connection. See https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation
In the first and second example you get data from a view and can act on that without having to log in again. In example 2 they get a handle and can get at the ITeamrepository by using (ITeamRepository) hanlge.getOrigin().
you can not get the password as far as I can tell. However, if you work in Eclipse and that is connected, dependent on what data you have, you can use the current connection. See https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation
In the first and second example you get data from a view and can act on that without having to log in again. In example 2 they get a handle and can get at the ITeamrepository by using (ITeamRepository) hanlge.getOrigin().