RegEx Custom Fields for Jira: secured fields and cascading lists

Encrypted number, date, select and user fields, a Cascading Select List with your own option tree, unique values and color fields for Jira Cloud.

A Jira custom field is open by default: anyone can type anything into it, and everyone who can open the work item can read it. RegEx Custom Fields started as regex validation for Jira custom fields. This autumn it grew into a set of field types for the cases Jira's own fields do not cover: values only some people may read, option lists with more than two levels, numbers that must not repeat, and colors.

Everything below is live. If your app is up to date, it arrived on its own, and the fields you already use work as before.

A Jira work item with fields from RegEx Custom Fields: invoice number, order amount, contract ID, an encrypted API token, brand colors, a linked work item and a target release

Validated, unique, encrypted and color fields on one work item

Secured fields: text, number, date, select list and user picker

Some values belong on a work item but not in front of everyone who can open it: a contract value, the date an NDA was signed, a risk rating, the responsible manager, a token for a test system. Next to Secured Text Field there are now four more types: Secured Number Field, Secured Date Field, Secured Select List and Secured User Picker.

  • The value is encrypted in the app's storage and Jira only holds a 🔒 marker. The value does not appear in JQL results, exports, webhooks, automation or notifications. You can still search for work items where the field is filled or empty.
  • You decide per field who can view and who can edit. By default that is everyone who can see or edit the work item. You can limit it to holders of the project permissions View secured fields and Edit secured fields, to named people, or to both.
  • Restrict on this issue narrows access on a single work item.
  • History shows who changed the value or the access, and when. Viewing is not recorded, and entries are kept for 365 days.
  • Each type checks what people enter: numbers (a decimal comma works too), real dates, the options you defined, Jira users. Select List and User Picker can hold several values if you allow it.
Details of a Jira work item with the secured fields Contract value, NDA signed on, Risk level and Account manager, each with a lock and the buttons Restrict on this issue and History

Each secured field shows who can see it

Settings of a secured field: who can view, who can edit, the project permissions View secured fields and Edit secured fields, and what people without access see

Access per field: named people or a project permission

The Who changed this field dialog of a secured field with one change by Developer Account and the note that entries are kept for 365 days

Who changed the value, and when

NOTE: Secured fields are filled in on the work item itself. On the create and transition screens the field shows a short note instead of an input, so a value takes the same protected path on every Jira screen.

Cascading Select List: one path through your own tree

Jira's own cascading field has two levels. Cascading Select List lets people choose one path through a tree you define, up to 10 levels deep and with up to 1,000 options: region, country and city, or product, module and component.

  • People pick level by level, and each list offers only the options under the one chosen above it.
  • The work item shows the full path, for example Europe › Germany › Berlin.
  • JQL finds work items by any level, by one level or by the full path: "Delivery region.Path" = Berlin or "Delivery region.Level2" = Germany.
  • Automation rules read the path and every level through smart values. The settings page shows them with the id of your field, ready to copy.
  • Jira checks every saved path against your tree, also when the value comes from the API or automation.
  • When you rename an option, work items keep the name they were saved with until someone edits them. Removing an option never makes existing work items invalid.
Editing a Cascading Select List on a Jira work item: Europe and Germany are chosen and the third level is open for a choice

Pick level by level

Option lists you edit like a list, not like a form

The settings of Cascading Select List show the options as a tree. Branches collapse, and a counter shows how many options sit directly under a branch. Select a row to add an option under it, rename it or delete it, and drag a row to move it together with everything under it. Search options finds an option in a large tree. Paste a list takes a whole tree as text: one option per line, indented under its parent.

The settings of a Cascading Select List: a tree of regions, countries and cities with search, Expand all, Collapse all and Paste a list, a selected row with add, rename and delete, and JQL and smart value examples on the right

The whole option tree on one page

Secured Select List has the same kind of editor. Options are plain names: click a name to rename it, drag a row to reorder, press Enter to add the next one, or use Paste a list with one option per line. A renamed option keeps the values that work items already hold.

The settings of a Secured Select List: the options Low, Medium, High and Critical with drag handles and delete buttons, the Add an option field and the Paste a list button

Rename in place, drag to reorder, paste a list

Unique Value: no more duplicates

A Unique Value field refuses a value that another work item already has, for example a contract number or a serial number.

  • You choose where to look for duplicates: In the issue's project, On the whole site or Among issues matching a JQL query.
  • Upper and lower case and spaces at the start or end do not make a value new.
  • The message names the work item that already holds the value, if the person may see that work item.
A Contract ID field on a Jira work item with the message that the value is already used in SHOP-15

The duplicate is named right under the field

NOTE: The check runs when a person enters a value in Jira or in the Jira Service Management portal. Values written by the REST API, automation, CSV import or bulk edit are not checked.

Color and Multi Color

Color and Multi Color put a real palette on the work item: hue, brightness and opacity, with HEX, RGBA and CMYK input, and the color is saved as HEX, RGB, RGBA or CMYK. A Multi Color field holds up to 100 colors. The work item shows each color as a swatch next to its code.

Under Allowed formats you can limit a field to the formats you need, for example HEX only for a brand book. Jira then rejects other formats from the API and automation too.

The color palette of an Approved colors field on a Jira work item with three chosen colors and HEX, RGBA and CMYK inputs

A palette on the work item

The Allowed formats setting of a color field with checkboxes for HEX, RGB, RGBA and CMYK

Allow only the formats you need

Clear errors and one settings page for every field

When a value does not match the pattern, the field now says why, right under the input. You can write the message yourself, so people read "Use the format INV-YYYY-NNNNN" and not a regular expression. A field with a pattern can be emptied and saved again.

An Invoice number field on a Jira work item with the admin's own error message under the input

Your own words under the field

Every field type now has the same kind of settings page: cards, a hint under each input and one Save button. For regex fields the page offers ready-made templates for phone numbers, e-mail addresses, dates, URLs and more, a Try it check against a sample value before you save, and Write it with Rovo, which turns a description in plain words into a pattern.

The settings of a Regex Custom Field: the pattern, a custom error message, the Try it check, the Rovo generator and a list of templates

Templates, a test and a generator on one page

Smaller improvements

  • Work Item Picker and Version Picker suggest only the work items and versions the person may see.
  • Without configured projects, Version Picker offers the versions of the current work item's project.
  • For new text fields, choose Regex Custom Field. Fields of the older String Regex Custom Field type keep working with their values and pattern, and nothing needs to be done.
  • The app has a new name and icon on the Marketplace: RegEx Custom Fields for Jira (Unique, Color, Secure, Picker).

How to get the update

If the app is up to date, you already have everything. If Jira's Manage apps page shows an Update button next to RegEx Custom Fields, select it once: Jira lists the permissions the app asks for and an admin confirms them. Your fields, values and patterns stay as they are.

FAQ

Who can see the value of a secured field?

Only the people you allow in the field's settings. By default that is everyone who can see the work item; you can limit it to holders of the View secured fields project permission, to named people, or to both. On a single work item, Restrict on this issue narrows it further. Everyone else sees 🔒 Restricted, or nothing at all if the field is set to hide.

Does a secured value appear in search, exports or notifications?

No. Jira only holds a 🔒 marker, so the value does not appear in JQL results, exports, webhooks, automation or notifications. You can still search for work items where the field is filled or empty.

How do I create a select list with more than two levels in Jira?

Add a custom field of the type Cascading Select List, open its settings and build the tree: select a row to add options under it, or use Paste a list with one option per line, indented under its parent. A tree can be up to 10 levels deep and hold up to 1,000 options.

How do I search for a cascading value in JQL?

Use the field name with .Path for any level, .Level1 to .Level10 for one level and .Value for the full path, for example "Delivery region.Path" = Berlin. The settings page of the field shows these examples.

How do I stop duplicate contract numbers in Jira?

Use a Unique Value field and choose in its settings where to look for duplicates: in the project, on the whole site or among work items matching a JQL query. The check runs when a person enters the value in Jira or in the JSM portal.

How do I allow only HEX colors in a field?

Open the settings of the Color or Multi Color field, keep only HEX under Allowed formats and save. The palette then saves colors as HEX only, and Jira rejects other formats from the API and automation.

Do I need to do anything to get these updates?

No, they arrive on their own. Only if Manage apps shows an Update button next to the app, an admin selects it once and confirms the permissions. Existing fields, values and patterns stay as they are.

Get started

Install or update RegEx Custom Fields on the Atlassian Marketplace. If you are still deciding whether a custom field is the right tool, read Jira custom fields: best practices and when to use validation.