Cross-Origin Resource Sharing Settings with the ScriptRunnerSettings PowerShell Module
Please note that an administrative PowerShell console at the ScriptRunner Service host is required to run the cmdlets of the ScriptRunnerSettings module.
- Add-AsrCorsOrigin
Add CORS origins ScriptRunner is restricted to on Web App cross-origin requests.
The Restart parameter restarts the ScriptRunner service to apply changes immediately. - Get-AsrCorsOrigin
Get the CORS origins ScriptRunner is restricted to on Web App cross-origin requests. - Set-AsrCorsOrigin
Set the CORS origins ScriptRunner is restricted to on Web App cross-origin requests.
The Restart parameter restarts the ScriptRunner service to apply changes immediately. - Remove-AsrCorsOrigin
Remove CORS origins ScriptRunner is restricted to on Web App cross-origin requests.
The Restart parameter restarts the ScriptRunner service to apply changes immediately.
More information can be found here: ScriptRunner Settings | Manual
This page has been automatically translated and may contain grammatical errors or inaccuracies