Browse documentation

Hooks / Docs / Limits and troubleshooting

Limits and troubleshooting

Last updated 24/08/2026

Limits

Limit

Value

Run history retained

50 runs

Versions per hook

20

forEachIssue inline cap

5,000 items

Returned-value size

100 KB

Console run budget

~25 seconds (use bulk jobs beyond it)

Bulk: page / cap / errors kept / jobs kept

50 / 50,000 / 20 / 50

Scheduler granularity

5 minutes (cron in UTC)

JQL function key cap / scan cap

1,000 keys / 2,000 scanned

Scripted field value

255 characters

Troubleshooting

Symptom

Fix

Unbounded JQL queries are not allowed

Add any restriction (created >= -30d, a project…) — a bare ORDER BY is unbounded. Jira platform rule.

A listener didn't fire

Check it's Enabled, the kind matches the event, and its scoping filters match the work item.

A hooked()/function search returns nothing at first

The very first evaluation may store the cache empty — search again a moment later; refresh keeps it warm from then on.

Long bulk script times out

Console has ~25s; use a bulk job (600s per page, background).

ERROR with a stack trace

The line numbers point at your script; fix, save (new version), or roll back.