Admin Tools

Part of the Administration reference. API Restrictions | Admin Tools | Audit Logs

Track script usage

Track where scripts are used across your Jira instance - in workflows and custom fields (Script Usage tab of the Admin Panel).

Collecting data

Click Collect Information to scan all workflows and custom fields for script references. The process:

  1. Scans all workflow rules (post functions, validators, conditions) for scripts managed by the app
  2. Scans all scripted custom field configurations
  3. Stores results in a usage cache with timestamps (shown as “Last collected”)

Usage table

Column Description
Script Script name. For a deleted script - the name the script had (when its runs are still in the audit log), the Deleted label and the full script ID
Type Usage type badge - Post Function, Validator, Condition, or Custom Field
Location Workflow name with link (for workflow rules) or field name (for custom fields)
Version Version status - Current (green), Outdated (orange with date), or - (no version tracking)

Version tracking

For workflow rules, the table shows whether the deployed script version matches the latest saved version:

  • Current - the workflow uses the latest script version
  • Outdated - the workflow uses an older version (shows the version date)
  • - - version information is not available

Search and pagination

The usage counter reads Total: N records (Total: 1 record for one). Search across script names, script IDs, workflow names, and field names. Results are paginated (20 per page).

  • When nothing matches, the table says No usage records match your search.
  • If the usage data cannot be loaded, the tab shows the error Failed to load script usage data. instead of an empty area.

Per-script view

Each script also has a Where Used action in the Library context menu, showing only that script’s usage locations.


Manage UI modifications

Manage UI Modification registrations (UIM tab of Admin Panel -> Admin):

  • View how many UIMs are registered for Jira projects and for JSM service desks. The counters read, for example, 5 UIMs in Jira (1 UIM in Jira for one).
  • Delete Jira UIMs / Delete JSM UIMs - delete the registrations of one context
  • Re-register All UIMs - recreates registrations for all UIM-triggered scripts
  • Delete All UIMs - bulk delete every registration

Bulk delete with an incomplete list. Studio reads the UIM list page by page to the end (up to 40 pages of 50). If Jira does not return every UIM (the limit is reached or a page fails midway), Delete All UIMs deletes only the UIMs it read and reports: “Deleted N UIM(s), but Jira did not return every UIM, so some may remain. Run the deletion again.” Run the deletion again until no UIMs remain.


Export and import scripts

Export and import all application data - scripts with full configuration, labels, folders, custom tables, message queues, whitelists, blacklists and settings (Export / Import tab of Admin Panel -> Admin). Two formats are available: a single JSON file (full backups and moves between sites) and a folder bundle (zip or folder, one file per script - for editing in your own editor and keeping scripts in git).

Export

  1. Go to the Admin tab > Export / Import
  2. Click Export (or Export as zip for a folder bundle)
  3. Select the sections to include - each section has a switch: every section is on when the dialog opens, which gives a complete snapshot; turn off the ones you do not need (Select All / Deselect All)
  4. Click Export - the file downloads automatically

Import

  1. Go to the Admin tab > Export / Import > Import (or Import folder or zip for a bundle)
  2. Paste JSON or click Upload JSON file (max 10 MB), then click Validate
  3. Choose the sections (switches) and what to do if an entity already exists (the If entity already exists drop-down)
  4. Click Import

Import behavior:

  • New scripts (unknown ID) are created
  • Existing scripts (matching UUID) follow the conflict strategy: Overwrite updates the script and replaces its triggers with the ones from the file, Skip leaves it as is, Copy creates a copy with a new UUID and the “(imported)” suffix - see How the merge works
  • You choose which of the 18 sections to import, for example Scripted Field Configurations, Admin Settings, and Sync Configurations
  • Folders and labels are created automatically if they don’t exist

See Import & Export for the full description, including the folder bundle format and moving to another site.


Run health check

Database maintenance and application data integrity tools (Health Check tab of Admin Panel -> Admin):

  • Health Summary - Run all checks runs every read-only check at once (global script duplicates, storage usage, data integrity, field context integrity) and shows the combined result. Repairs stay in their own sections below
  • Run Migrations - apply pending database schema updates (they also run automatically every hour)
  • Global Script Duplicates - detect and remove duplicate global variable scripts
  • Storage Usage - monitor database size, table sizes, index sizes, and row counts
  • Data Integrity - detect and clean up orphaned records left by failed deletions, including issue links whose linked entity no longer exists
  • Field Context Integrity - check that scripted field context configurations match the actual Jira field contexts, and fix mismatches
  • Scenarios and Jobs - detect scenario runs and background jobs stuck with no progress for over 30 minutes, and enabled scheduled triggers that have not fired for at least three intervals. Stuck runs and jobs can be closed in one click (a stuck run blocks all new runs of its script); overdue triggers are reported only. A per-issue scheduled trigger (one with a JQL) that is still working through a large result set is not reported: such a trigger only records a run once the whole set is processed, which can legitimately take several intervals

Health Check panel

</a>


Support

The Support tab of Admin Panel -> Admin.

Diagnostic logging

Time-limited diagnostic logging for troubleshooting trigger and script execution issues.

  • When enabled, detailed info-level logs are written for all trigger invocations
  • Logs include: trigger invocations, script start/complete events, timing, skip reasons
  • No sensitive data is logged (source code, issue data, PII are excluded)
  • Duration options: 5 minutes to 14 days (336 hours) - auto-disables after the chosen duration
  • Turns itself off when the chosen duration ends; can be disabled manually at any time with Disable Diagnostic Logging
  • While it is on, the app writes technical details to its own logs, which it keeps for JiBrok support. To get help, enable diagnostic logging, reproduce the problem, then contact support with the date, time and time zone when you reproduced it
  • Enable/disable actions are recorded in the settings audit log

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