Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-19311

Cannot create issues when required fields are configured in workflow validator rather than field configuration

XMLWordPrintable

      NOTE: This bug report is for JIRA Portfolio Cloud. Using JIRA Portfolio Server? See the corresponding bug report.

      Problem
      In case there are certain fields required for specific issue types and this requirement condition is modelled with a workflow validator, Advanced Roadmaps won't bring up the Create issue dialog when trying to commit an issue of this type to JIRA and hence the issue creation will fail.

      Steps to Reproduce

      Navigate to the workflow configuration page and select one to edit. 

      View the workflow digram and select the Create Issue transition. 

      Select the validators link and add a Field Required Validator

      **Publish the changes to the workflow

      Returning to the plan, create an issue applicable to this workflow

      Click on Review Changes, and then Save Selected Changes

      Result

      The workflow validation will be applied and the "Changes cannot be saved" notification is displayed to the user. 

      On the new improved interface:

      Could not be committed for unknown reasons.
      Item could not be committed for unknown reasons. Please contact your administrator.
      

      Workaround
      Configure the required field via field configurations and screens and specify the field behaviour this way.

      Notes
      The workaround doesn't apply to system fields that are locked by default (ie. Parent Link, Team)

      We are working on better supporting required fields via workflows.

              Unassigned Unassigned
              akavelar Albert Kavelar
              Votes:
              80 Vote for this issue
              Watchers:
              64 Start watching this issue

                Created:
                Updated:
                Resolved: