ScriptRunner for Bamboo is retiring!

ScriptRunner for Bamboo will be retired on 8th December 2022.

If you have any questions, please visit Adaptavist Product Support.

Script Console

The Script Console is the place for running one-off ad hoc scripts, learning, and experimenting with the Bamboo API.

You can enter your script directly in the browser or click the File tab to type the file path. The file can be a fully qualified pathname to a .groovy file accessible to the server. If you provide a relative pathname, the file is resolved relative to your script roots.

Read more about script roots and script plugins.

Samples

Take one of these code samples, and use it as a starting point for your own situation.

List all build plans

For example, return all the names of all the build plans:

Include Bitbucket for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

List the status of all build jobs

For example, return all the names of all the build jobs:

Include Bitbucket for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

On this page