Numeric custom field validation

ADM Amar Msaid August 5, 2023

Hi everyone,

How to prevent a user to create issue when a numeric custom field value is equal to zero (the field is configured as required but the user enter 0).

i use jira work management.

Thank you

1 answer

1 accepted

1 vote
Answer accepted
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 5, 2023

Hi @ADM Amar Msaid 

I take it that as you state "Jira Work Management", this is Cloud not Server?

Field-level validation in this manner is not possible natively, I would either...

  • Use Automation to clear the field if it's "0" - and perhaps send the user an email to confirm why their value was removed. For example, the rule might be...
    • Trigger: Field Value Changed
      • Field = Number Field
    • Condition: Issue Fields Condition
      • Field = Number Field
      • Condition = equals
      • Value = 0
    • Action: Edit Issue
      • Field = Number Field
        • Value = <leave blank>
    • Action: Send Email
      • To = Initiator
      • Subject/Content = detail why value was removed
  • Look for an App which can do this on the Marketplace; for example...

Let us know if this helps!

Ste

ADM Amar Msaid August 5, 2023

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events