Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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?

0 votes


Accepted answer

Permanent link

findProjectAreaByFQN">https://github.com/jazz-community/work-item-command-line/blob/master/com.ibm.js.team.workitem.commandline/src/main/java/com/ibm/js/team/workitem/commandline/utils/ProcessAreaUtil.java?_pjax=%23js-repo-pjax-container","user_id":28647924}}">findProjectAreaByFQN

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

0 votes

Comments

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

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,940

Question asked: Jun 23 '20, 4:40 a.m.

Question was seen: 1,072 times

Last updated: Jun 24 '20, 4:02 a.m.

Confirmation Cancel Confirm