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

No red asterisks shown after enabling the Validator Plugin (JSU) in Behaviours on the Create issue screen

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.0.14
    • Fix Version/s: 5.3.0
    • Component/s: Behaviours
    • Labels:
      None
    • Environment:

      JIRA Software | 7.4.1

      ScriptRunner | 5.0.14

    • Critical Points:
      0.6

      Description

      If you use the JSU Fields Required validator in the Create issue transition and enable the Validator plugin with the appropriate workflow in Behaviours, no red asterisks appear next to the fields that were selected to be required in the validator. However, JSU's validation still works as expected and the issue will not be created if the required fields are not set.

      Steps to reproduce:

      • Install JSU
      • Add the Fields Required validator to the workflow of your choice (on the Create issue transition) and choose a couple of fields to be required.
      • Create a new behaviour and enable the Validator Plugin and select the Guide Workflow that you just added the validator to. Additionally, make sure the behaviour mapping is set appropriately.
      • Go to create an issue and observe the bug described at the top of the description.

      Also with a combination of fields (Time tracking fields marked as required in a JSU validator) then a javascript error, prevent the form from submit

      "Exception: Uncaught TypeError: Cannot read property 'fieldType' of undefined" 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              aderossett Aidan Derossett
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: