Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-72299

Add Custom Error Message feature to Regular Expression Validator

    • 143
    • 31
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      When working with workflows, it is possible to create validators based on Regular Expressions. However, unlike other validators such as the Field Required validator, it is not possible to create custom error messages.

      Suggestion of Improvement

      The default error message may not be as informative as it could. It would be nice to have the ability to create a custom error message as a way of ensuring that, if a transition failed because of a validator, the user would know exactly how to proceed to prevent it from failing.

      Why is this important

      Having this would make the process of transitioning issues more user friendly in case something failed.

      Being able to define a custom message allows users to create a more straightforward answer.

            [JRACLOUD-72299] Add Custom Error Message feature to Regular Expression Validator

            Further to this, the validation message shows the regular expression syntax. This is unprofessional and provides a poor user experience.

            The ability to enter a customer message with all validator options would be fantastic!

            josh.clearihan added a comment - Further to this, the validation message shows the regular expression syntax. This is unprofessional and provides a poor user experience. The ability to enter a customer message with all validator options would be fantastic!

            Further to this, the validation message shows the regular expression syntax. This is unprofessional and provides a poor user experience.

            The ability to enter a customer message with all validator options would be fantastic!

             

            josh.clearihan added a comment - Further to this, the validation message shows the regular expression syntax. This is unprofessional and provides a poor user experience. The ability to enter a customer message with all validator options would be fantastic!  

            Any updates on this?

            kyle.guiney added a comment - Any updates on this?

            Fabian Stroinigg added a comment - - edited

            +1

            Fabian Stroinigg added a comment - - edited +1

            Manar added a comment -

            +1

            Manar added a comment - +1

            +1

            +1

            +1

             

            Hardik Babbar added a comment - +1  

            +1 - Other validators have the ability to provide a custom error message and arguably, this is the validator that it's needed most on.  A regular expression string has no meaning to the average user.

            Chris Rogers added a comment - +1 - Other validators have the ability to provide a custom error message and arguably, this is the validator that it's needed most on.  A regular expression string has no meaning to the average user.

            The currently available methods for field validation in transition validation rules are, to put it mildly, quite limited. This is somewhat compensated by the “regular expression” type. However, the lack of a custom error message makes it unusable. The default message looks more like a log entry rather than a message intended for the user.

            tomasz.armata added a comment - The currently available methods for field validation in transition validation rules are, to put it mildly, quite limited. This is somewhat compensated by the “regular expression” type. However, the lack of a custom error message makes it unusable. The default message looks more like a log entry rather than a message intended for the user.

              Unassigned Unassigned
              lhubert@atlassian.com Leonardo H
              Votes:
              193 Vote for this issue
              Watchers:
              102 Start watching this issue

                Created:
                Updated: