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

can i fetch the team area if given the user name/ details through CLI?

can i fetch the team area to which the user belongs to, if given the user name/ details through CLI?

if yes then how can i achieve it?

my usecase is as followes,

The usecase is already getting executed with another user story. With this the major aim of the task is to fetch the team area that belongs to the user and generate a mailing list for them so that notifications could be sent from Jenkins.

0 votes


Accepted answer

Permanent link
Hello Shruti

You can use the 'scm list teamareas' command to get the list of team areas in a repository. Please find the details and the syntax, arguments that can be used here:

http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Flist_teamareas.html


shruti gudagur selected this answer as the correct answer

0 votes

Comments

Hello Sumant,

thanks for the reply.

i tried this command. It lists all the team areas present in a repository. but i want only team to which a particular user belongs to..  

Use the -c/--contrib option and specify the userid.

lscm list teamarea -r https://yourRepoUrl -c userid

Hello Shashikant,

thank you. it worked.

Hello,
can i fetch all the users who belong to a particular team area through CLI?
Thanks & Regards
Shruti

Hi Shruti


I do not see an option or a command to list all the users belonging to a particular team area through CLI. 


There is an option to list users but no argument to filter based on team areas.


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,025

Question asked: Jun 02 '14, 7:37 a.m.

Question was seen: 3,694 times

Last updated: Jun 04 '14, 7:36 a.m.

Confirmation Cancel Confirm