Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-66497

Add a constraint to the component table in the database to prevent the lead column from being empty

    XMLWordPrintable

Details

    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Issue description

      There can be some situation where a component is created with an empty lead (especially while using a 3rd party add-on).
      In this case, if an XML backup is created and used to perform a project import, the project import will fail with the following error:

      There are '1' required user(s) that JIRA can not automatically create.
      

      Suggested solution to fix this behavior

      The suggestion would be to:

      • either add a constraint to the component table in the database to prevent the lead column from being empty.
      • or modify the ProjectComponentManager.create() to stop the creation of the component if the lead field is empty (OR if the lead field is empty, replace this field with a null field)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jrey Julien Rey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: