Is there a way in ScriptRunner to pull which users are in which Portfolio Team? to be able to automatically set the Team field based on who the issue is assigned to?
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
I suppose you should have possibility to execute REST in ScriptRunner. There is /rest/teams/1.0/teams/find endpoint which returns Portfolio Teams with users. For more info you can install Atlassian REST API Browser