Jira scripted custom fields for Cloud

Add computed custom fields whose values are calculated by your scripts. Nine field types - text, number, date, datetime, rich text, user, user list, group and group list - that recalculate on issue create and update, running entirely on Atlassian Forge.

What scripted custom fields solve

Out of the box, Jira custom fields are static - the user types a value, the value is stored. Scripted custom fields turn the value into a derivation: at the moment an issue is created or updated, your script runs and computes the field's value from anything you can reach via the Jira REST API or your own data tables.

This is exactly the workload teams used to build on legacy Connect-based scripting tools. With Atlassian Connect end of support arriving on 31 January 2027, moving scripted fields to a Forge-native runtime keeps them maintained, secure, and aligned with Atlassian's platform direction.

JiBrok Studio's scripted fields are computed inside the same Forge runtime as the rest of the app. No external server holds the calculation logic, and no third-party service sees your issue data.

Three common scripted-field scenarios

1. Subtask point totals

A scripted number field on each Story that sums the story-point estimates of all its subtasks. The value refreshes whenever a subtask is added or its estimate changes.

2. SLA due dates

A scripted datetime field that computes a target resolution time from priority, business hours, and customer tier - usable in JQL, dashboards, and SLA reports.

3. Rich-text summary blocks

A scripted paragraph field that builds an Atlassian Document Format (ADF) block summarising linked epics, customers, and key dates - rendered as native rich content on the issue.

How JiBrok Studio delivers it

Nine field types in one app

  • Scripted Text Field - script returns a string
  • Scripted Number Field - script returns a number
  • Scripted Date Field - ISO date string
  • Scripted DateTime Field - ISO datetime string
  • Scripted Paragraph Field - ADF rich content
  • Scripted User Field - a single user
  • Scripted User List Field - a list of users
  • Scripted Group Field - a single group
  • Scripted Group List Field - a list of groups

Field types and setup →

Field vs JQL function

Scripted fields store a value on each issue and refresh on create/update. When you need on-demand search logic instead - "which issues match these arbitrary criteria right now?" - use a custom JQL function like issue in jbExec(...).

Both run on the same Forge runtime, share the same Scripting API, and live in the same script library.

A small example

Sum story points across all subtasks of the current issue.

// Scripted Number Field: sum of subtask story points
// 'issue' is the parent issue, auto-loaded by the platform

const STORY_POINTS = 'customfield_10016';
const subtasks = issue.fields.subtasks || [];

let total = 0;

for (const sub of subtasks) {
  const child = Issues.get(sub.key,
    { fields: [STORY_POINTS] });
  total += child.fields[STORY_POINTS] || 0;
}

return total;

Save the script, link it to a Scripted Number Field, and assign the field to your screens. The value refreshes whenever the parent issue is updated.

Add computed fields without external servers

JiBrok Studio's scripted fields run 100% on Atlassian Forge - your issue data never leaves Atlassian's cloud.

JiBrok Studio for Jira Cloud JiBrok Studio for Jira Cloud
JiBrok Message Field for Jira Cloud Message Field for Jira Cloud
JiBrok time in status Time in status for Jira Cloud
JiBrok time in status Time in Status (Forge) for Jira Cloud
Calculated Fields (Forge) Calculated Fields (Forge) for Jira Cloud
JiBrok Calculated fields Calculated fields (JBCF) for Jira Cloud
JiBrok Timer Timer field | SLA for Jira Cloud
JiBrok Stopwatch Stopwatch for Jira Cloud
JiBrok Time between dates Time between dates for Jira Cloud
JiBrok Fields panel for Jira Service Management (JSM) Fields panel for Jira Service Management (JSM)
JiBrok Display Linked Issues Display Linked Issues
JiBrok Display Linked Issues Display Linked Issues
JiBrok message field Message field
JiBrok time in status Time in status | SLA | Timer | Stopwatch
JiBrok Switch to User + Delegating SU (Jira) Switch to User + Delegating SU (Jira)
Group Delegate & Creation Management (Jira)
JiBrok Calculated fields Calculated fields (JBCF)
JiBrok Timer Field Timer Field (Forge) for Jira Cloud
JiBrok Stopwatch Field Stopwatch Field (Forge) for Jira Cloud
JiBrok Time Between Dates Time Between Dates (Forge) for Jira Cloud
JiBrok Display Linked Issues Display Linked Issues (Forge) for Jira Cloud
JiBrok Customer Portal Fields Panel Customer Portal Fields Panel (Forge) for JSM
rss
rss
rss