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

Mantis Importer ignores projects with id = 1

    XMLWordPrintable

Details

    Description

      Previously this parameter was added to overcome the problem with a separator added in as a project. We need to investigate if this is still the case.

      -------------- From Email -----------------
      This is for anyone having issues importing from Mantis. I was trying to import several projects using the built in importer but one of my Mantis projects wasn't showing up in the list of projects (my first and most important one). Looking at the importer code there was a simple query to search for projects but for some reason it explicitly ignored project id #1. (Perhaps for some historical reason). Anyway, if you are having a problem with your first Mantis project, just change this line in the importer:

      PreparedStatement preparedStatement = connectionBean.getConnection().prepareStatement("select * from mantis_project_table where id <> 1");

      and remove "where id <> 1".

      Rebuild with this updated class and the problem goes away.

      Attachments

        Activity

          People

            dylan@atlassian.com Dylan Etkin [Atlassian]
            brian@atlassian.com BrianH
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: