Automation via REST API
The Web Service Connector enhances ScriptRunner with a REST API and thus opens up a variety of automation scenarios. The calling instance in these scenarios is always a web service client that needs to be capable of executing a REST call with a JSON data object.
When a source system calls the Web Service Connector, the connector first checks its IP address and authentication. Given that both are valid, the data is extracted from the JSON object.
Subsequently, the Connector checks whether the Action may be started. Only then are the parameters passed to the Action and it is executed. At the same time, an ID is transferred to the calling system, with which it can retrieve the Action results and reports.