Remove periods from number fields

Kristin Lyons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2025

Is there a configuration where we can prevent periods or any symbol from being entered in number fields in Jira Data Center?

1 answer

0 votes
Layssa Souza
Contributor
February 4, 2025

Hi,

Go to: Jira Settings > System > Automation.
Create a new rule.
Trigger: "Field Value Changed" (When the numeric field is changed).
Condition: Use a smart value to validate numbers only:


{{issue.customfield_XXXXX.replaceAll("[^0-9]", "")}}


Action: "Edit Issue" and overwrite the field with the value without symbols.

 

See if this works for you.

Best Regards

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.17
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events