Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-6278

"Clones an issue, and links" Listener bypasses required fields

    XMLWordPrintableJSON

Details

    • SR4J Sprint 150 (8.6.0)
    • 2.5

    Description

      Summary

      When using the "Clones an issue, and links" Script Listener and setting the target project to be a different project, it can bypass the required fields in target project

      Steps to Reproduce

      1. Create a "Clones an issue, and links" Script Listener
      2. Configure the target project to be a project where a required field is configured. For example purposes, the source project is A and target project is B
      3. In an issue in project A, ensure that the field that is required in B is empty (or is missing from the screen entirely). Trigger the listener.

      Expected Results

      The issue will not be cloned, or it will show a warning message that a required field in the target project is empty

      Actual Results

      The cloned issue is created successfully in project B, with the required field being empty

      Notes

      Tested in Jira Software 9.3.0 with ScriptRunner 7.4.0

      Attachments

        Activity

          People

            kbutler Katrina Butler
            jwai Joe Wai
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: