com.atlassian.jira.plugins.importer.external.ExternalException: A Priority with that name already exists.

Atlassian JIRA | Ahmad Danial | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Steps to Reproduce * Choose the CSV source file to import: !csv_1.JPG|thumbnail! * Choose which *JIRA* project you would like to import to: !csv_2.JPG|thumbnail! * Map the fields accordingly: !csv_3.JPG|thumbnail! * Choose to *Add new priority* of '2 or maybe you want to make any changes, click *Back*': !csv_4.JPG|thumbnail! * Clicking either *Add new priority '2'* or *Back* will give you the following page: !csv_5.JPG|thumbnail! The following *ERROR* stack trace appears on the {{atlassian-jira.log}}: {code} 2013-09-03 16:14:45,392 http-bio-8602-exec-5 ERROR [500ErrorPage.jsp] Exception caught in 500 page A Priority with that name already exists. com.atlassian.jira.plugins.importer.external.ExternalException: A Priority with that name already exists. at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.throwExceptionIfInvalid(CreateConstanstManagerImpl.java:120) at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:77) at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:70) at com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage.doAddConstant(CsvValueMappingsPage.java:51) at com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage.doExecute(CsvValueMappingsPage.java:124) <+1> (ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:83) {code}

    Atlassian JIRA | 4 years ago | Ahmad Danial [Atlassian]
    com.atlassian.jira.plugins.importer.external.ExternalException: A Priority with that name already exists.
  2. 0

    h3. Steps to Reproduce * Choose the CSV source file to import: !csv_1.JPG|thumbnail! * Choose which *JIRA* project you would like to import to: !csv_2.JPG|thumbnail! * Map the fields accordingly: !csv_3.JPG|thumbnail! * Choose to *Add new priority* of '2 or maybe you want to make any changes, click *Back*': !csv_4.JPG|thumbnail! * Clicking either *Add new priority '2'* or *Back* will give you the following page: !csv_5.JPG|thumbnail! The following *ERROR* stack trace appears on the {{atlassian-jira.log}}: {code} 2013-09-03 16:14:45,392 http-bio-8602-exec-5 ERROR [500ErrorPage.jsp] Exception caught in 500 page A Priority with that name already exists. com.atlassian.jira.plugins.importer.external.ExternalException: A Priority with that name already exists. at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.throwExceptionIfInvalid(CreateConstanstManagerImpl.java:120) at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:77) at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:70) at com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage.doAddConstant(CsvValueMappingsPage.java:51) at com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage.doExecute(CsvValueMappingsPage.java:124) <+1> (ActionSupport.java:165) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:83) {code}

    Atlassian JIRA | 4 years ago | Ahmad Danial
    com.atlassian.jira.plugins.importer.external.ExternalException: A Priority with that name already exists.

    Root Cause Analysis

    1. com.atlassian.jira.plugins.importer.external.ExternalException

      A Priority with that name already exists.

      at com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.throwExceptionIfInvalid()
    2. com.atlassian.jira
      CsvValueMappingsPage.doAddConstant
      1. com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.throwExceptionIfInvalid(CreateConstanstManagerImpl.java:120)
      2. com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:77)
      3. com.atlassian.jira.plugins.importer.managers.CreateConstanstManagerImpl.addConstant(CreateConstanstManagerImpl.java:70)
      4. com.atlassian.jira.plugins.importer.imports.csv.web.CsvValueMappingsPage.doAddConstant(CsvValueMappingsPage.java:51)
      4 frames