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

Add Custom Error Message feature to Regular Expression Validator

    • 135
    • 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

            manar dadoush added a comment -

            +1

            manar dadoush 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.

            This feature definitely needs to come back. it was in JIRA Cloud rally so I don't understand why it is not in JSM on validator.

             

            A much needed solution 

            Wrzaskowski, Rafal added a comment - This feature definitely needs to come back. it was in JIRA Cloud rally so I don't understand why it is not in JSM on validator.   A much needed solution 

            Just upping this since it is still an issue... 

            Nikita Sklyarov added a comment - Just upping this since it is still an issue... 

            Harrison Ponce added a comment - - edited

            This is the experience I had today trying to do this simple task. I kept finding or being pointed to alternate solutions, always to find out that they don't work.

            1. Try out Regular Expression validator for issue creation workflow
              • Error message is the exact RegEx and customers can't understand that. Cannot add custom message like other native validators.
            2. Ooo look...Atlassian Forge can develop custom field types that support RegEx and a custom error message!
              • Wah Wah....these are not supported in the Jira Service Management portal and is Hidden for customers
            3. Oh wait...Atlassian Forge can give you a custom workflow validator
              • Also not able to be used with customers in the portal.

            To say this is frustrating for BASIC functionality that was requested 5 years ago...is an understatement.

            When does one just give up?

            Harrison Ponce added a comment - - edited This is the experience I had today trying to do this simple task. I kept finding or being pointed to alternate solutions, always to find out that they don't work. Try out Regular Expression validator for issue creation workflow Error message is the exact RegEx and customers can't understand that. Cannot add custom message like other native validators. Ooo look...Atlassian Forge can develop custom field types that support RegEx and a custom error message! Wah Wah....these are not supported in the Jira Service Management portal and is Hidden for customers Oh wait...Atlassian Forge can give you a custom workflow validator Also not able to be used with customers in the portal. To say this is frustrating for BASIC functionality that was requested 5 years ago...is an understatement. When does one just give up?

            The error message returned from the failed validation is nearly incomprehensible for the average customer of a portal. If we had shown hieroglyphics, it would have been the same.

            Please, let's resolve this issue as soon as possible!

            Cristian Iorio added a comment - The error message returned from the failed validation is nearly incomprehensible for the average customer of a portal. If we had shown hieroglyphics, it would have been the same. Please, let's resolve this issue as soon as possible!

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

                Created:
                Updated: