Workflow validation fails for Regex

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Applying regex to the workflow validator is not working. Even though the regex works while testing on a regex tester

      Steps to Reproduce

      1. Create a new field and add it to a service desk screen
      2. Now go to the workflow and add a validator to the create issue transition.
      3. Select regex validation
      4. Enter any of the regex below
        • [0-9] {1}

          -[0-9]

          {3}-[0-9]{3}

          -[0-9]

          {4}

          ==> Example: 1-905-445-6677

        • ^[0-9]*$
      5. Now go back to the Jira portal and try to create an issue.

      Expected Results

      The Validation fails when the issue does not match the regex and it passes when it does.

      Actual Results

      The validation fails sometimes every time. Even when the pattern is matched

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Christopher Owen (Inactive)
            Reporter:
            Shakiru Ayanloye (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: