Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Masked Secure Text Field for Jira enables to restrict its value from reading by unauthorized users. Additionally, it allows controlling data entry formats so that entered data is valid. For example, a text editor should only accept phone numbers or an email field might have a validation rule that disallows entering an email address that is incorrectly formatted.

Java-based regular expressions

The following table describes the standard patterns available.

Pattern

Description

Masked field view

All characters

Allows any characters, including spaces. Mask everything except for the last 3 characters.

Phone number

Allows digits from 0 to 9 and specified symbols. Mask everything except for the last 3 digits.

Integer

Allows integer numbers.

Decimal

Allows decimal numbers. Mask all characters.

Email

Allows entries in the email address format.

IPv4

Allows entries in IPv4 format.

IPv6

Allows entries in IPv6 format.

00-000

Allow a respective number of digits.

000-000-00-00

0000-0000-0000-0000

Let's start with a simple example to understand how the masked field works.

After adding a new masked field, set up permission

Field configuration

Configure parameters for the Secure Masked Text

Mask regular expression - allows specifying a pattern that the entered text should match.

Validation regular expression - checks whether the entered value matches the given format.

Validation error message - general error message if the validation checks fail. You can define your own custom message to display in case of errors.

Mode: if Standard mode is being used (by default), an error message is not thrown in case of invalid input. However, all field characters will be masked.

Strong mode - in this case, the system won’t let the user enter an invalid format of data and will alert the user with the pre-defined error message.

Test your configuration section allows you to preview how masked text looks like.

  • No labels