The Resources feature allows you to add connections to databases for use in scripts, and other places. For example:
- Listener: Use to update an external content management system with a link to a particular page.
ScriptRunner manages a connection pool, allowing database connections to be reused when future requests are required. A connection pool eliminates the need to close a connection after each use or specify connection details, such as passwords, in scripts. Instead of entering specific connection information, you can refer to the pool name entered when configuring the connection.
The Resources page lists all previously configured database connections.
After selecting Create Resources, you can use the Search ScriptRunner Functionality search bar to search the available resources.
For example, if you’re looking for a resource that works with local databases, you could type "Local" and press Enter. Then, the list of resources is narrowed down to only those containing the word "local" in their title or description.