- Overview
- How it works
- Setup
- Who can run exposed scripts
- Who the script runs as
- What the script receives
- What the assistant receives
- Errors
- Limits
- History and audit
- MCP tools - coming soon
- Important notes
- Next steps
Overview
JiBrok Studio makes selected scripts available to Atlassian Rovo. A user asks Rovo to do something, the agent picks a script from the list you exposed, and the script runs in JiBrok Studio.
| Surface | Name | Actions |
|---|---|---|
| Rovo agent | JiBrok Studio - “Run scripts from JiBrok Studio library” | List available scripts, Run script |
Rovo itself is an Atlassian feature that must be available on your site; JiBrok Studio only provides the agent.
How it works
The JiBrok Studio agent provides two actions to Rovo:
| Action | Description |
|---|---|
| List available scripts | Returns the enabled scripts with an enabled Rovo trigger, sorted by name, each with its ID, name and the trigger description |
| Run script | Executes a specific script by ID, optionally with an issue key |
Agent prompt
Rovo uses JiBrok Studio as a scripting assistant. The agent will:
- First list available scripts to show what’s possible
- Run the one that fits the request
- Pass the issue key when the conversation has an issue in context
Before the run, Rovo asks the user to confirm it and shows the script name together with its ID. If the name the agent passes does not belong to that ID, the script does not run.

</a>

</a>

</a>
Setup
1. Enable the Rovo Trigger Type
The Rovo Agent trigger type is disabled by default. A Jira administrator enables it in Admin Panel -> Admin -> Triggers (see Administration). While it is off, the Rovo agent answers “Rovo trigger type is disabled” and lists nothing.
2. Add a Rovo Trigger to a Script
- Open the script in the Console (Config tab - Triggers)
- Click Add Trigger and select Rovo (“Available to the Rovo AI agent for execution”)
- Optionally fill the description (“Optional description for this Rovo trigger”, up to 2,000 characters). The description is what the assistant reads to decide when to use the script, so describe what the script does and what input it needs
- Optionally add trigger Parameters (name-value pairs, available in the script as
params.name- see Trigger parameters) - Save the script and make sure both the script and the trigger are enabled
A script can have one Rovo trigger. In the Library, scripts with this trigger show the Rovo Agent badge. Only scripts with an enabled Rovo trigger are visible to the Rovo agent.
3. Use from Rovo
- Open Rovo chat in Jira
- Ask the JiBrok Studio agent to list scripts or run a specific one
- If you’re viewing an issue, Rovo can pass the issue key to the script automatically

</a>

</a>
Who can run exposed scripts
The Console and Admin Panel are for Jira administrators only, but exposed scripts can be run by any user who can use the JiBrok Studio agent in Rovo. The app does not check for administrator rights when Rovo calls it.
Expose only scripts that are safe for everyone who has Rovo on your site, and choose the run-as identity with that in mind.
Who the script runs as
The identity comes from the script’s Run as setting (see Script Console).
| Run as | The script runs as |
|---|---|
| Current user | The user talking to Rovo (application permissions if Rovo passes no user) |
| Application | The app |
| Pre-configured user / Specific user | That user |
A script set to Application or another user runs under that identity whoever asks - see Who can run exposed scripts.
What the script receives
| Variable | Content |
|---|---|
issue |
The issue, loaded automatically when the assistant passed a valid issue key |
issueKey |
That key, or null |
event |
Everything else the assistant sent with the call (except the script ID and name), plus event.issueKey (null when there was no valid key) |
params |
The trigger parameters configured on the Rovo trigger (read-only) |
The issue key must look like PROJ-123 (upper-case project key). Anything else is ignored, and the script runs without an issue.
What the assistant receives
| Field | Meaning |
|---|---|
success |
true when the script finished without error |
result |
The script’s return value serialized as JSON (a string is returned in quotes), or null |
error |
Error code when the script failed, otherwise null |
executionMs |
Execution time in milliseconds |
Return a compact, self-explanatory value (an object with named fields or a short message) - the assistant uses it to answer the user. Output written with log() is not returned to the assistant; it is visible in Run History.

</a>
Errors
Returned to the assistant instead of a result:
| Message | Cause |
|---|---|
| License required | The app license is not active |
| Rovo trigger type is disabled | The Rovo Agent trigger type is off |
| Invalid or missing scriptId | The assistant did not pass a valid script ID |
| Script not found / Script is disabled | The script was deleted or disabled |
| scriptName does not match the script with this scriptId… | The assistant passed a script name that belongs to another script; the script did not run |
| No enabled rovo trigger for this script | The script has no Rovo trigger, or it is disabled |
| Script execution failed | Unexpected failure while running |
Limits
Scripts called from Rovo run with the Rovo trigger limits: up to 40 seconds of execution and up to 80 Jira API calls per run. See Limits for the full set.
History and audit
- Each run appears in the script’s Run History with trigger Rovo.
- Script runs from Rovo are recorded in the Script Runs Audit by default; this is controlled per trigger type.
- Failed runs are collected in the Error Monitor (see Error Monitoring).
- All sandbox protections - the security pipeline, API access control and resource limits - apply to Rovo-triggered runs. See Security.
MCP tools - coming soon
Running exposed scripts from external AI clients over MCP is in preparation and is not part of the current version.
Important notes
- Scripts must be enabled with an enabled Rovo trigger to appear in Rovo
- Scripts run with the Run as identity configured on the script; with Current user they use the Rovo user’s Jira permissions (application permissions if Rovo passes no user)
- Any user who can use the JiBrok Studio agent in Rovo can run exposed scripts - expose only scripts that are safe for everyone
- The Rovo Agent trigger type must be enabled in Administration (disabled by default)
- Rovo trigger limits apply: 40 seconds, 80 API calls per run

</a>
Next steps
- Triggers - All trigger types
- Administration - Enable/disable Rovo trigger type
- Jira Automation Integration - Running scripts from automation rules
- Scripting Language - Language and API reference
- Limits - Execution limits
