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.
noteWe use Java regular expressions to define a search pattern.
We use Java regular expressions to define a search pattern.
Standard Sample Masks
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 except decimal point. | |
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 |
Permissions
Note that the new permission has been added. Make sure to grant the Read masked field permission to the respective user in order to enable the user to read or edit the masked field value.
Masked Field Search
Limited capability of searching over the masked fields.
Users are unable to search for the context of the masked field. Only is Empty or is not Empty operators can be used for searching.
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.
As a Jira Administrator, you can change the standard configuration and set different limits or conditions on the data that can be entered in the field.
Mode: if Standard mode is being used (this is set by default), an error message is not thrown in case of invalid input and the entered value is accepted. 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.