Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-26125

The "Set Required Field" screen does not take into account mandatory fields from ScriptRunner behaviors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 8.15.0, 10.0.0, 9.12.14, 9.17.4

      Issue statement

      The "Set Required Field" screen does not honor/support the fields configured as mandatory via the behavior configuration from the 3rd party add-on ScriptRunner for Jira.

      Because of that, if a field is set as mandatory via ScriptRunner behaviors, this field will not show in the "Set Required Field" screen from Roadmaps plan, and the issue will fail to be created: nothing will happen when clicking on the Create button:

      For more information about this behavior, you can refer to the KB article below:
      https://confluence.atlassian.com/roadmaps-kb/advanced-roadmaps-for-jira-the-create-button-from-the-set-required-field-screen-does-not-work-1452670977.html

      Steps to replicate

      • Configure a field to be mandatory via the behavior configuration from ScriptRunner (for example, the Fix Version field as illustrated below)
      • Open a Roadmap Plan, create an issue from the plan, and click on Review changes
      • From the pop-up, click *Save selected changes in Jira.
        • The "Set Required Fields" screen will open
      • Click on the Create button

      Expected behavior

      The mandatory field should show in the "Set Required Fields" screen, and the issue should be created after clicking the Create button

      Actual behavior

      The mandatory field is not showing in the "Set Required Fields" screen, and nothing happens after clicking the Create button

      Suggestion for the bug fix

      Ensure that the "Set Required Field" screen support the "Mandatory Field" configuration coming from ScriptRunner behaviors.

      Workaround

      Instead of using ScriptRunner behaviors to make the field mandatory, make it mandatory via Jira's native Field Configuration as illustrated below:

              Unassigned Unassigned
              jrey Julien Rey
              Votes:
              12 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: