Scriptline / Docs / Limits and troubleshooting

Limits and troubleshooting

Last updated 03/11/2026

Limits

LimitValue
Run history kept50 runs
Versions per hook20
forEachIssue in one run5,000 work items
Returned-value size100 KB
Console run timeAbout 25 seconds (use a bulk job beyond that)
Bulk job size / error samples / jobs kept50,000 / 20 / 50
Schedule granularity5 minutes (cron in UTC)
hooked() keys returned / work items scanned1,000 / 2,000
Scripted field value255 characters

Troubleshooting

SymptomFix
Unbounded JQL queries are not allowedAdd any restriction (created >= -30d, a project, ...). A bare ORDER BY is unbounded. This is a Jira platform rule.
A listener didn't fireCheck it is enabled, the kind matches the event, and its scoping matches the work item.
A hooked() or built-in function search returns nothing at firstThe very first search after saving can come back empty. Search again a moment later; it stays current from then on.
A long script times out in the ConsoleThe Console allows about 25 seconds. Use a bulk job, which runs in the background.
ERROR with a stack traceThe line numbers point at your script. Fix and save (a new version), or roll back.
Something elseReport it from Report a bug in the app sidebar or the support page, and include the run from Run history.