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

RTC java api : how to get the fully qualifed name of a team Area ?

Hi,
I'm looking for a way to get the fully qualified name of a teamArea with the java api.
Can anybody tell me how to do this ? 

I have a workitem. From it, I've got the Category, and from the category, I can get the name of theTeamArea.
But how to get the fully qualified name of the teamArea (the full path of the team area in the team area hierarchy) ?


0 votes

Comments
Note that a team area does not have a "pathname" ... it just has a unique ID.
It has a title, but the title doesn't identify the team area ... it just gives it a friendly name, which can be later changed and which is not guaranteed to be unique.

It would help if you explained what you were planning on doing with this information.

 Thanks for your answer Geoffrey Clemm
You can get more details in my answer to the question.



One answer

Permanent link

  Thanks for your answer.

But : 
In the REST API, if you search for a team Area, you can ask  for the "qualifiedName" attribute.
This "qualifiedName" is the path of the team in the teams hierarchy description.
In the  REST api documentation, for the team Area, we can read this : 

teamArea (type: com.ibm.team.process.TeamArea)

This element represents a Team Area.

Properties:

  • name (type: xs:string). The human-readable name of the project area (e.g. "My Team")
  • qualifiedName (type: xs:string). A fully-qualified team area name, slash-separated, including all parent team areas (e.g. "/My Parent Team/My Team").
I just want to get the "qualifiedName" through the java api, not by a REST api call...

Thanks for your help.


0 votes

Comments

Still wondering about the question in my original comment ... once you have the qualifiedName, how do you plan on using it?  

 The teams Hierarchy describe a organization. I want to split this "qualifiedName" in different parts and use those parts to know in what department, service, etc. the team is classified.

That makes sense, thanks. 

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,938
× 411

Question asked: Apr 12 '20, 10:40 a.m.

Question was seen: 1,761 times

Last updated: Apr 12 '20, 7:13 p.m.

Confirmation Cancel Confirm