Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-65829

Cloning an issue that contains required field displays a generic workflow error instead of the required fields message.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 7.2.3, 7.2.4, 7.3.3, 7.5.2
    • Issue - View Issue
    • None

      Summary

      When attempting to clone an issue that contains required fields, JIRA displays a generic workflow error instead of the required fields message.

      Steps to Reproduce

      1. Install a trial of the "Scripting Suite Pro" plugin or any other plugin that has a workflow validator for fields;
      2. Create a test project;
      3. Create a dummy issue in the project;
      4. Edit the project workflow and add a "Jython Validator" function on the Create transition with the following inline script:
        ----------------
        invalid_fields = {}
        invalid_fields["Summary"] = "must have proper summary"
        description = "Failed validation test"
        result = False
        ------------
      5. Publish the workflow.
      6. Attempt to clone the dummy issue created

      Expected Results

      In JIRA 7.1.x, the error is nicely formatted:

      Actual Results

      In JIRA 7.2.x, a generic workflow message is displayed:

      Workaround

      There is currently no workaround for this issue.

        1. jira7.1.0.png
          jira7.1.0.png
          29 kB
        2. jira7.2.4.png
          jira7.2.4.png
          34 kB

              Unassigned Unassigned
              lfagundes Luciano Fagundes (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated: