Command line interface creating respository workspace
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
I was referencing this article in regards to creating a repository workspace. Getting Started with the jazz scm command line/
In creating a repository workspace this is the command. I notice that there is not a specification for the project area. You put in a nickname and stream name in the script but what if you have streams with the same name in different project areas? How would this be handled? I could have a stream called "Main Dev" or "2013Q2" in different project areas.
In creating a repository workspace this is the command. I notice that there is not a specification for the project area. You put in a nickname and stream name in the script but what if you have streams with the same name in different project areas? How would this be handled? I could have a stream called "Main Dev" or "2013Q2" in different project areas.
~$ lscm create workspace -r local -s Stream1 Workspace1 Workspace (4819) "Workspace1" successfully created
One answer
![](http://jazz.net/_images/myphoto/550b993338e2cdedd495b5abb74fb9fc.jpg)
Hi Sean,
You can use the command "lscm list streams --projectarea <project_area_name" to list the alias of the streams owned by the project area. The alias is a short string of digits.
Then use "lscm create workspace -r <repo-connection> -s <stream_alias> <workspace_name" to create the workspace.
Hope the above command is helpful.
Regards,
Lily