Improve errors when clone fails workflow validation

XMLWordPrintable

    • 3
    • 41

      Updated 16 Jan 2024

      Issue Summary

      When cloning an issue that fails to pass a workflow transition validator, the error message is garbled and unhelpful.

      Steps to reproduce

      1. Create an issue with no value in the Affects version field
      2. Add a transition validator to the Create transition checking for a value on the Affects version field:
      3. Attempt to clone the issue from step one
      4. Observe error:
      We couldn't clone WVT-41
      [InvalidInputException: [Error map: [0]] [Error list:
      [[affects ver]]]
      Try again

      Expected Results

      A helpful error explaining why the clone failed.

      Actual Results

      Invalid error messages appear on the screen.

      Workaround

      Currently there is no known workaround for this behavior. 

       

        1. screenshot-2.png
          screenshot-2.png
          53 kB
        2. screenshot-1.png
          screenshot-1.png
          366 kB
        3. image-2024-01-16-16-24-57-066.png
          image-2024-01-16-16-24-57-066.png
          366 kB
        4. image-2021-06-03-19-18-28-685.png
          image-2021-06-03-19-18-28-685.png
          61 kB
        5. image-2021-06-03-19-17-46-791.png
          image-2021-06-03-19-17-46-791.png
          21 kB

            Assignee:
            Unassigned
            Reporter:
            Priyadharshini CS (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: