Welcome to the Jazz Community Forum
setting the visibilty of a stream using the java api 3.014

2 answers

IReadScope.FACTORY has methods to create the different scopes for your visibility. The javadoc for IReadScope will explain the read scopes that can be applied to each type of owner. For your case, you set the visibility of the team area to the process area scope. Process area scope defers the visibility to the owning project area.