scriptrunner-example-scripts
Local ScriptRunner example script bundle for Jira Cloud and Data Center. Use when users ask for starter code, implementation patterns, workflow script examples, listeners, jobs, behaviours, or ScriptRunner snippets by feature.
How do I install this agent skill?
npx skills add https://github.com/adaptavist/scriptrunner-skills --skill scriptrunner-example-scriptsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a comprehensive reference library of hundreds of ScriptRunner example scripts for Jira Cloud and Data Center. It provides code patterns for automation tasks like listeners, workflow transitions, and custom REST endpoints. The skill is legitimate, professional, and follows standard development practices for Atlassian tools.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
ScriptRunner Example Scripts Skill
Use this skill for bundled local example scripts. Prefer it over remote example lookup tools.
Activation signals
- User asks for a starter script or working example.
- User wants feature-specific ScriptRunner code patterns.
- User needs a concrete snippet to adapt for Cloud or Data Center.
Workflow
- Confirm the target platform.
- Open the relevant platform index:
references/INDEX-CLOUD.mdreferences/INDEX-DATA-CENTER.md
- Use
references/FEATURE-INDEX.mdto narrow by feature. - Use focused local reads against 1-3 matching files in
references/scripts/.... - Use a subagent only for bounded discovery across a large search space. Ask it for concise findings, local file paths, original source URLs, feature labels, and line ranges, not full script contents.
- Return adapted code and cite both the local file path and original source URL.
Resource map
references/INDEX-CLOUD.md- Cloud script inventory.references/INDEX-DATA-CENTER.md- Data Center script inventory.references/FEATURE-INDEX.md- cross-platform feature map.references/scripts/...- script pages grouped by platform and feature.assets/scripts.json- machine-readable manifest.
Notes
- Prefer feature-first lookup to minimize context load.
- Do not ask subagents to return full scripts or large excerpts; the parent agent should perform any final focused reads directly.
- Preserve the platform and API style shown by the chosen example.
- Explain any placeholders or assumptions you change while adapting a script.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/adaptavist/scriptrunner-skills/scriptrunner-example-scripts">View scriptrunner-example-scripts on skillZs</a>