When installing Automation for Jira and then attempting to use the Scriptrunner Action as part of a Global rule you may find that the Scriptrunner action is missing from the choose of "New action" items list.
i.e. you are missing this:
To solve this you need to restart your Jira instance. Once restarted the Automation for Jira addon should then pick up the Scriptrunner action