Hooks / ScriptRunner alternatives / Hooks vs ScriptRunner
Hooks vs ScriptRunner for Jira Cloud
Last updated 19/11/2026.
In one line: ScriptRunner does more, and Hooks shows you more. ScriptRunner has Behaviours, workflow extensions and a decade of library scripts, in Groovy. Hooks covers listeners, schedules, the console, bulk jobs, JQL functions and scripted fields in TypeScript. It records every run, keeps every version and can rehearse changes with writes switched off, and costs less.
Side by side
| ScriptRunner for Jira Cloud | Hooks | |
|---|---|---|
| Scripting language | Groovy, with ScriptRunner's own helpers for REST calls | TypeScript or JavaScript, with a typed jira API and jira.request for any Jira REST endpoint |
| Platform | Moving from Atlassian Connect to Forge during 2026 | Built on Forge from the start |
| Where scripts and logs are stored | Adaptavist's cloud hosting, EU or US | Atlassian's encrypted storage on your Jira site. No external network calls. |
| What a failed run leaves behind | Execution log entries | A stored run with logs, timing, returned value and the error with its line number, replayable from Run history |
| Version history | None built in | The previous 20 versions of every script, one-click rollback |
| Dry run | None | Writes suppressed and logged, reads run for real. Works on console runs, simulated events and bulk jobs. |
| Listeners | Script Listeners | 10 event kinds, each scoped by project, work item type or changed field |
| Scheduling | Scheduled Jobs | Plain-words schedule builder or custom cron, checked every 5 minutes |
| Large bulk changes | Console scripts, bound by the run time limit | Background bulk jobs: up to 50,000 work items, progress, error samples, cancel |
| JQL functions | Enhanced Search (issueFunction in ...) | 15 built-ins with the same names (issue in ...) plus issue in hooked("name") for your own logic. Use them in ordinary saved Jira filters, and move your existing Enhanced Search filters with the Migrate from ScriptRunner tab. |
| Scripted fields | Yes | Yes: one read-only field, computed per work item, searchable in JQL |
| Behaviours | Yes | No |
| Post-functions, conditions, validators | Yes | No |
| Built-in script library | Very large | 11 starter examples |
| Who can author | Jira admins | Jira admins, checked on every action |
| Price | Free up to 10 users | Free up to 10 users, then lower than ScriptRunner at every team size |
Language: Groovy vs TypeScript
On Cloud, most ScriptRunner scripts are Groovy wrapped around Jira REST calls. The same call in Hooks is a one-line await:
ScriptRunner (Groovy)
post("/rest/api/2/issue/${issue.key}/comment")
.header("Content-Type", "application/json")
.body([body: "Escalated to on-call"])
.asString()
Hooks (TypeScript)
await jira.addComment(
context.event.issue.key,
"Escalated to on-call",
);
TypeScript is the language most web and platform teams already use, so more people on your team can read and review the automation. For anything not in the typed API, jira.request(method, path, body) calls any Jira Cloud REST endpoint.
Where your scripts and logs live
ScriptRunner for Jira Cloud keeps your scripts and execution logs on Adaptavist's own hosting, in the EU or the US. Hooks keeps scripts, versions and run history in Atlassian's encrypted app storage on your site, so they follow your Jira data residency. It makes no network calls outside Atlassian. For security reviews, this means one fewer sub-processor to assess. See Security and Privacy.
When something goes wrong
The most common complaint about Jira scripting tools is that a listener failed overnight and nobody could tell why. In Hooks every run is stored, whether it was triggered by an event, a schedule, a bulk job or a JQL search. The record holds its logs, how long it took, what it returned and, on failure, the error mapped to the line of your script. If the cause was a bad edit, roll back to the previous version in one click. Then rehearse the fix with dry run before you switch it back on.
Price
Both apps are free on sites with up to 10 users. Above that, Hooks is priced lower than ScriptRunner at every team size, and like every Marketplace app both are billed on your whole Jira user count. See the Hooks listing for current prices.
Migration effort
Hooks can't import Groovy, and no other tool can either, so plan for a rewrite. In practice:
- Listeners and scheduled jobs that call the REST API convert almost line for line. Budget minutes to an hour each, plus testing.
- Enhanced Search filters move with the Migrate from ScriptRunner tab: it scans your site, checks each filter against ScriptRunner's own results, and converts it in place. Functions with no equivalent are marked Manual with the reason, and become a short
hooked()script. - Scripted fields move to Hooks' single scripted field. If you have several, you need to consolidate them or keep some on ScriptRunner.
- Behaviours and workflow extensions don't move. Keep ScriptRunner, or use JMWE, for those.
The migration guide covers each step and converts six common scripts.
Frequently asked questions
Is Hooks cheaper than ScriptRunner for Jira Cloud?
Yes. Hooks is priced lower than ScriptRunner at every team size, and both are free for up to 10 users. See the Marketplace listing for current prices.
Can Hooks and ScriptRunner run on the same Jira site?
Yes. They are separate apps and don't interfere. Running both during a migration is the safest way to switch: move one script at a time, check its run history in Hooks, then disable the ScriptRunner original.
Do ScriptRunner's JQL function names work in Hooks?
Fifteen do: linkedIssuesOf, linkedIssuesOfRecursiveLimited, ancestorsOf, descendantsOf, subtasksOf, parentsOf, epicsOf, childrenOf, issuesInEpics, previousSprint, hasSubtasks, hasLinks, hasAttachments, hasComments and hasWorklogs. Write issue in linkedIssuesOf("...") instead of issueFunction in linkedIssuesOf("..."). You do not have to rewrite your saved filters by hand: the Migrate from ScriptRunner tab scans your Enhanced Search filters, checks each against ScriptRunner's own results, and converts them in place so boards and dashboards keep working. Restore puts the original query back exactly.
Where does Hooks store scripts and logs?
In Atlassian's encrypted app storage on your own Jira site, so it follows your site's data residency. Hooks makes no external network calls. ScriptRunner for Jira Cloud stores scripts and logs on Adaptavist's own cloud hosting in the EU or US.
What does ScriptRunner do that Hooks doesn't?
Behaviours, workflow post-functions, conditions and validators, a much larger built-in script library, and a longer track record. If those matter to you, keep ScriptRunner for them.