Overview
Store persistent data in Custom Tables or process asynchronous messages with Message Queues. Both are accessible from scripts and the app UI: tables are managed in the Tables tab and queues in the Queues tab of the admin page.
Custom tables
Structured data storage accessible from both the UI and scripts.

</a>
Creating a table
- Navigate to the Tables tab
- Click Create Table
- Enter a table name
- Define columns with name, type, and required flag (Add Column); for a Select column, enter the options separated by commas
- Optionally limit the table to projects and issue types (see Context restrictions)
Columns can be changed later with Edit Schema.

</a>
Column types
| Type | Description |
|---|---|
| String | Text values |
| Number | Numeric values |
| Boolean | True/false values |
| Date | Date values |
| Select | Dropdown from predefined options |
| JSON | Arbitrary JSON data |
Each table supports up to 30 columns and 5,000 rows. Column names must be unique; id is reserved and auto-generated. See Limits for all table size and storage limits. When a table reaches its row limit, new inserts will fail with an error - delete existing rows or increase limits before adding more data.
Managing data in the UI
Click Open on a table to browse its rows, 50 per page (Previous / Next).
- Add Row - opens a form with fields for each column; required columns must be filled
- Edit - click Edit in the row’s Actions column to open the edit form, modify values and save
- Delete - click Delete in the row’s Actions column and confirm. Rows are deleted one at a time in the UI; to delete many rows, use
tables.deleteRows()from a script - Filtering and sorting - the UI has no search or sort. To query rows by column values or sort them, use the Tables API from a script (
where,orderBy- see below)
Table context restrictions
Tables can be restricted to specific projects and/or issue types. The restriction is enforced by the *For methods (getFor, rowsFor, findRowFor, addRowFor, …): they take an issue and fail if it does not match the table’s context. Leave the context empty for no restrictions. The admin page UI is not limited by the context.
Script API
Access tables from scripts using the tables variable:
// Query rows with filtering
const rows = tables.rows("Users", {
where: { Status: { $eq: "active" } },
orderBy: "-Age",
limit: 10,
offset: 0
})
// Add a row
tables.addRow("Users", {
Name: "Alice",
Age: 30,
Status: "active"
})
// Update a row
tables.updateRow("Users", rowId, { Status: "inactive" })
// Delete a row
tables.deleteRow("Users", rowId)
// Bulk insert multiple rows
tables.addRows("Users", [
{ Name: "Bob", Age: 25, Status: "active" },
{ Name: "Carol", Age: 28, Status: "active" }
])
// Delete rows by filter (returns number of deleted rows)
const deleted = tables.deleteRows("Users", { Status: { $eq: "inactive" } })
log(deleted) // e.g., 3
// Find a single row
const row = tables.findRow("Users", { Name: { $eq: "Alice" } })
// Count rows
const total = tables.count("Users")
const active = tables.count("Users", { Status: { $eq: "active" } })
Context-aware methods (*For)
When a table has a context configured (project/issue type restrictions), use *For methods. The issue parameter can be an issue object or a string key (e.g. "PROJ-123").
| Method | Description |
|---|---|
tables.getFor(name, issue) |
Get a table handle with context check |
tables.rowsFor(name, issue, options?) |
Search with context check |
tables.findRowFor(name, issue, where) |
Find first with context check |
tables.addRowFor(name, issue, data) |
Insert with context check |
tables.addRowsFor(name, issue, rows[]) |
Bulk insert with context check |
tables.updateRowFor(name, issue, rowId, data) |
Update with context check |
tables.deleteRowFor(name, issue, rowId) |
Delete with context check |
tables.deleteRowsFor(name, issue, where) |
Delete rows with context check |
tables.countFor(name, issue, where?) |
Count with context check |
tables.addRowFor("Logs", "PROJ-123", { Message: "Done" })
tables.rowsFor("Logs", issue, { where: { Status: "open" } })
Filtering operators
| Operator | Description |
|---|---|
$eq |
Equal |
$ne |
Not equal |
$gt |
Greater than |
$gte |
Greater than or equal |
$lt |
Less than |
$lte |
Less than or equal |
$like |
Pattern match (SQL LIKE) |
$in |
In array of values |
Message queues
Asynchronous message processing between scripts and triggers: producer scripts push messages, other scripts pull or consume them.
Creating a queue
- Navigate to the Queues tab
- Click Create Queue
- Enter a queue name (up to 100 characters) and, optionally, a description and a max size
- Optionally limit the queue to projects and issue types (see Context restrictions)
If no max size is entered, the queue holds up to 50,000 messages, which is also the maximum.
Queue dashboard
The queue list shows:
- Queue name
- Message counts by status (Pending, Processing, Failed)
- Last update time
Open a queue to see its statistics and messages, edit it, export it, or purge messages.
Message states
| State | Description |
|---|---|
| Pending | Waiting to be processed |
| Processing | Pulled by a consumer, awaiting acknowledgment |
| Failed | Rejected by a consumer (queue.reject) |
A message that stays in Processing for more than 2 minutes without an acknowledgment is considered stuck; a script can return such messages to Pending with queue.recoverStuck(name).
See Limits for queue size and message limits. When a queue reaches its message limit, new pushes will fail - consume or purge messages to free space.
Message browser
View messages (ID, status, payload, priority, created time), 50 per page, optionally filtered by status (Pending, Processing, Failed). Actions include:
| Action | Description |
|---|---|
| Requeue | Move a failed message back to pending (shown for failed messages) |
| Delete | Remove an individual message |
| Purge | Purge All, Purge Pending, Purge Processing or Purge Failed |
Message expiry (TTL)
A message can be pushed with a time to live, in milliseconds. After that time it is never delivered again: pull, consume and peek skip it, and it no longer takes up space against the queue size limit - an expired message never causes a queue to report itself as full.
// This message is only relevant for the next hour
queue.push("tasks", { action: "refresh" }, 0, 60 * 60 * 1000)
Without a TTL a message never expires and waits until it is consumed, purged or deleted. See Message TTL for details.
Queue context restrictions
Queues can be restricted to specific projects and/or issue types. The restriction is enforced by the *For methods (pushFor, pullFor, consumeFor, …): they take an issue and fail if it does not match the queue’s context. Leave the context empty for no restrictions.
Script API
Access queues from scripts using the queue variable:
// Push a message (with optional priority - higher = processed first)
queue.push("tasks", { action: "process", data: "..." }, 5)
// Pull messages for processing
const messages = queue.pull("tasks", 5)
for (const msg of messages) {
// process msg.payload
queue.ack(msg.id) // acknowledge success
// or: queue.reject(msg.id) // mark as failed
}
// Consume (pull + auto-ack in one step)
const consumed = queue.consume("tasks", 5)
// Peek without changing status
const preview = queue.peek("tasks", 5)
// Requeue failed messages
queue.requeue(messageId)
// Get queue size and stats
const size = queue.size("tasks")
const stats = queue.stats("tasks")
// Return messages stuck in processing to pending
queue.recoverStuck("tasks")
When to use tables vs queues
| Use Case | Tables | Queues |
|---|---|---|
| Persistent data storage | Yes | No (messages are consumed) |
| Configuration/lookup data | Yes | No |
| Audit/history records | Yes | No |
| Task processing pipelines | No | Yes |
| Event-driven workflows | No | Yes |
| Cross-script communication | Possible | Designed for this |
| Priority-based ordering | No | Yes |
Next steps
- Scripting API: Tables - Full Tables API reference with filter operators, sort syntax, upsert, and context-aware methods
- Scripting API: Queues - Full Queue API reference with message lifecycle and context-aware methods
- Scripting Examples - Table and queue patterns and recipes
- Scripting Language - Full language reference
- Limits - All storage limits
