AI Scripting Reference

Use this page to help AI assistants (ChatGPT, Claude, Copilot, etc.) generate correct scripts for JiBrok Studio.

Quick start

  1. Open llms-full.txt (complete API reference, ~620 lines)
  2. Copy the full text
  3. Paste it into your AI assistant as context
  4. Ask it to write a script for your task

Example prompt:

Using the JiBrok Studio API reference above, write a script that finds all issues in project PROJ that are overdue, adds a comment “Please update or close this issue”, and transitions them to “In Review” status.


What’s included

The llms-full.txt reference covers:

Section Description
Sandbox constraints What’s different from standard JS (no fetch, no DOM, auto-await, etc.)
Issues API Search, create, update, transition. 40+ RichIssue methods
Jira Entities Users, Projects, Fields, Components, Versions, Boards, Sprints, Links, Epics, Groups, Filters
Configuration & Assets Workflows, Screens, Schemes, Roles, JSM Assets/CMDB
Utilities Adf builder, DateUtils, Arrays, Strings, CSV, Validator
Tables & Queues Custom data storage CRUD, message queue lifecycle
Async Events & UIM Script-to-script triggering, form field modification
Type Methods All whitelisted String (58), Array (48), Date (40+), Set, Map methods
Differences from JS in operator on arrays, arguments in arrow functions, decodeURI error handling, and more
Common Patterns Bulk operations, reporting, field sync, table/queue patterns

For AI tool developers

JiBrok Studio supports the llms.txt standard:

  • /llms.txt - Brief description with links to documentation pages
  • /llms-full.txt - Complete API reference in one file

AI tools can fetch these files automatically to provide context-aware script generation.


Next steps


JiBrok Studio for Jira Cloud JiBrok Studio for Jira Cloud
Release notes
Core Features
Triggers
Extensions
Data Storage
Scripting Overview
JavaScript Engine
Python Engine
Groovy Engine
Scripting API
Administration
Guides