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. |
Accepted answer
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
Comments
shruti gudagur
commented Jun 02 '14, 8:07 a.m.
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
shruti gudagur
commented Jun 04 '14, 12:01 a.m.
Hello Shashikant, thank you. it worked.
shruti gudagur
commented Jun 04 '14, 5:41 a.m.
Hello,
Sumant Renukarya
commented Jun 04 '14, 7:36 a.m.
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
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.