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

Issue picker field not working with "required"

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 5.4.40, 5.4.47, 5.4.48, 5.5.3, 5.9.1-p5
    • Fix Version/s: 6.1.0
    • Component/s: Behaviours
    • Labels:
      None
    • Critical Points:
      0.6

      Description

      Problem

      Scenario 1

      After setting a "Multiple Issue Picker" or "Single Issue Picker" field as required via the UI with behaviour, even if a value is added, it still says "You must enter a value for this field".

      Workaround for Scenario 1:

      Use a custom script to make the field required

      def field = getFieldByName("Issue Picker")
      field.setRequired(!field.value)
      

      Scenario 2

      After setting a "Multiple Issue Picker" field as required via the UI with behaviour and pick a value. Then, remove the value and click submit. The field required doesn't prompt any errors and allow the transition. No workaround at the moment.

      Video - screen recording 2020-05-13 at 5.02.26 pm.mp4

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              jmarques Jose Marques
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: