Active TeamRepository and Project area
I am developing a bridge plugin between my application plugins and Jazz Client (RTC). I am getting the access to the repository and the project area by using hard coded host strings.
However, I am looking forward to a way by which I can retrieve the active project area. Any help on this is appreciated.
I tried to search for APIs in different clients (IWorkItemClient, Process client etc.), but I could not find anything.
Thanks
Abhi
However, I am looking forward to a way by which I can retrieve the active project area. Any help on this is appreciated.
I tried to search for APIs in different clients (IWorkItemClient, Process client etc.), but I could not find anything.
Thanks
Abhi
2 answers
I think what you are after is the set of connected project areas (there can be more than one).
See com.ibm.team.process.rcp.ui.teamnavigator.ConnectedProjectAreaRegistry
Such as:
ConnectedProjectAreaRegistry.getDefault().getConnectedProjectAreas(teamRepository)
Thanks Ryan! I will try this out.