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

Field Required Error with Behaviours

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 5.5.7, 5.6.2
    • Fix Version/s: 6.4.0
    • Component/s: Behaviours
    • Labels:
    • Sprint:
      SR4J Sprint 78, SR4J Sprint 79, SR4J Sprint 80
    • Critical Points:
      4.5

      Description

      A field required error of a security level field that is configured in a field configuration occures even though it is filled.

      Steps to reproduce it:

      1. Add security level scheme and set one of the security level as default.
      2. Associate the security level scheme to the project.
      3. Configure security level required via field configuration.
      4. Configure Behaviour and add the script below in the Initialiser:
        if(getActionName() == "Create")
        {
           def field = getFieldById("security")
           field.setReadOnly(true)
        }
        
      5. Add security level field into the create issue screen.
      6. Try create issue without putting Summary value to force the error out. And then, fill in the summary value then click submit. However, error prompt saying security level field is required even though there is a value on it.

      Notes

      This is happening to another field when a required field is not filled in.

        Attachments

          Activity

            People

            Assignee:
            dluksza Dariusz Luksza
            Reporter:
            jloong John Chin Loong
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: