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 CloudHooks
Scripting languageGroovy, with ScriptRunner's own helpers for REST callsTypeScript or JavaScript, with a typed jira API and jira.request for any Jira REST endpoint
PlatformMoving from Atlassian Connect to Forge during 2026Built on Forge from the start
Where scripts and logs are storedAdaptavist's cloud hosting, EU or USAtlassian's encrypted storage on your Jira site. No external network calls.
What a failed run leaves behindExecution log entriesA stored run with logs, timing, returned value and the error with its line number, replayable from Run history
Version historyNone built inThe previous 20 versions of every script, one-click rollback
Dry runNoneWrites suppressed and logged, reads run for real. Works on console runs, simulated events and bulk jobs.
ListenersScript Listeners10 event kinds, each scoped by project, work item type or changed field
SchedulingScheduled JobsPlain-words schedule builder or custom cron, checked every 5 minutes
Large bulk changesConsole scripts, bound by the run time limitBackground bulk jobs: up to 50,000 work items, progress, error samples, cancel
JQL functionsEnhanced 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 fieldsYesYes: one read-only field, computed per work item, searchable in JQL
BehavioursYesNo
Post-functions, conditions, validatorsYesNo
Built-in script libraryVery large11 starter examples
Who can authorJira adminsJira admins, checked on every action
PriceFree up to 10 usersFree 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:

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.

Try Hooks free for 30 days → Read the migration guide