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

Users cannot clone issues if the field required workflow validator includes the field Attachment

XMLWordPrintable

      Issue Summary

      Users cannot clone issues if the field required validator includes the field Attachment.

      • If the field required validator which checks for the field Attachment is added to the initial create transition in the workflow, then the creation of tickets with attachments work as expected. However, cloning the same issue (with attachments) results in the error defined in the validator.

      Steps to Reproduce

      1. Create a project.
      2. Add the field required validator to the initial create transition in the workflow that checks for the field Attachment. (Using a 3rd-party app e.g., ScriptRunner, JSU)
      3. Create a new issue in the project with an attachment (Issue is successfully created as expected)
      4. Clone the newly created issue with attachments (Clone operation fails with the error defined in the validator.)

      Expected Results

      Clone operation should succeed as the validated field "Attachment" is present in the issue.

      Actual Results

      Clone operation fails with the error defined in the validator.

      Workaround

      The workaround to successfully clone the issue is to remove the field "Attachment" from the field required validator in the project workflow.

              Unassigned Unassigned
              8c7f0d7281aa Artur Moura (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: