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

Can i use SCM command to get all team areas for a specific project?

 I need to either get all team areas defined for specific project area or identify for a specific team area - to which project area it belongs to.
We are using scm commands and i couldn't find any property or other way to create the above relation.
Am i missing it or there currently no way to provide this info?

any workaround will be appreciated as well.
Thanks

2 votes

Comments

I don't believe there is any external way to accomplish what you want.

I don't think this data is available via oslc either.  I know you can get the project areas(that u have access to with the userid u are using) , but I don't think there is a way to get team areas.

technically teamareas are output of the category selection.


Accepted answer

Permanent link
Hi Rachel

I was testing out different commands and found a way to list All Project Areas and Team Areas using the list project area command and verbose option. Hope this helps, here is the command I tried on version 4.0.5

lscm list projectareas -r local -v



Without the verbose switch it only list project areas. From the above list you should be able to filter out project area / team area,

Let me know if this works for you.

Regards
Shubjit
Rachel Biderman selected this answer as the correct answer

2 votes

Comments

cool, was not aware of that. Thanks!

1 vote


One other answer

Permanent link
I am not aware that there is something like that. This post however describes automation that you could use: https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/

0 votes

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
× 12,014
× 1,201
× 87

Question asked: Mar 09 '14, 3:18 p.m.

Question was seen: 5,283 times

Last updated: Mar 10 '14, 5:32 a.m.

Confirmation Cancel Confirm