It's all about the answers!

Ask a question

Is it possible to get the Team Path using the Plain Java API

Russell Norlund (17211724) | asked Jun 23 '20, 4:40 a.m.

 Hi Folks, I can get a team name using the Java Plain API:

ITeamAreaHandle resultHandle = (ITeamAreaHandle) ITeamArea.ITEM_TYPE.createItemHandle(UUID.valueOf(teamUuid), null);
ITeamArea teamArea1 = (ITeamArea) repo.itemManager().fetchCompleteItem(resultHandle, IItemManager.DEFAULT, null);
if (teamArea1 == null) {
System.out.println(teamUuid + " Team area not found.");
} else {
teamName = teamArea1.getName() ;

Is it also possible to get the path for a specific team e.g. a team with the name ccc may have a path aaa/bbb/ccc?

Accepted answer

permanent link
Ralph Schoon (63.0k33645) | answered Jun 23 '20, 7:39 a.m.


shows an example, where you would provide the FQN such as "JKE Banking(Change Management)/Business Recovery Matters" and it would look up the area.

Russell Norlund selected this answer as the correct answer

Russell Norlund commented Jun 24 '20, 4:02 a.m.

Thanks Ralph this information is really useful. Especially, the first link with example code to get the fully qualified name.

Your answer

Register or to post your answer.