Code Editor

Use the Code Editor to write scripts in ScriptRunner. The browser-based Code Editor provides code completions, inline Javadoc lookups, inline find and replace, and error line indication.


The code editor automatically displays suggestions as you type. Suggestions are filtered as you type, so only relevant options are displayed. Use the arrow keys and Enter or Tab to select a suggestion. You can manually trigger completions with Control+Space.

When referring to a class, the code editor will automatically add the required import.

To save typing, use camel case abbreviations. For example, type ComAcc.issMan to get ComponentAccessor.issueManager

Smart Completions

Press Ctrl+Alt+Space to show a list of completions that match the expected type of assignment or parameter type.


When typing method parameters, it is easy to forget the expected types. Parameter types, and where possible names, are shown for the given method. Use the up/down cursor keys to scroll through any available overloads.

Press Control+Shift+Space to view parameters when inside a method.


The code editor can help you understand the purpose of classes, methods, and properties by loading the associated Javadoc. The Javadoc is shown in the editor as a pop-up. To view the Javadoc, press Control+Space with completions open. It will be displayed automatically from then on. To close it, press Control+Space again. 

Find and Replace

Monaco allows you to use find and replace in the code editor. To access find and replace, press ⌘+F (mac) or Ctrl+F (windows).
To search for text, enter it in the Find field. To access find and replace, press ⌘+H (mac) or Ctrl+H (windows).

Error Line Indicator

Errors in your script are highlighted in the right-hand panel of the script editor. Errors are highlighted inline, on the scroll bar, and in the right-hand overview ruler. When you have located an error, hover over the error with the cursor to see a summary.

Full Screen Editing

To open the script editor in full screen, click the icon  or press F11 when the cursor is in the editor. To exit the full screen, press F11 or Esc twice when the cursor is in the editor. 


There are some limitations to the code editor; work is ongoing to reduce these limitations. As mentioned, Javadoc for Bamboo APIs, and ScriptRunner’s API (e.g. Behaviours) is not available. However, completions and parameter hints are available for all.