Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-32670

Project Importer error message should be clearer

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      When importing a project from a CSV with some field required by a validator on the destination project, JIRA displays a generic message on the screen

      Import completed with ## errors:

      • Error importing issue ExternalIssue
        Unknown macro: {externalId=XXXXX, summary=XXXXXX,...}

      If you look into the JIRA logs, you can find a clear error stating the 'Work Type' is required

      2013-04-04 16:43:25,531 JiraTaskExectionThread-13 ERROR jon.parmley 1003x2732480x1 1igebw2 10.1.3.129,127.0.0.1 /secure/admin/views/ImporterLogsPage!import.jspa [imports.importer.impl.DefaultJiraDataImporter$1Thread[http-8080-1,5,main]] Error importing issue ExternalIssue{externalId=autoid-440121166144345997, summary=FBI-2866 CCF | SEO New, issueType=160}
      com.atlassian.jira.plugins.importer.external.ExternalException: Unable to create issue: FBI-2866 CCF | SEO New
      	at com.atlassian.jira.plugins.importer.imports.importer.impl.ExternalUtils.createIssue(ExternalUtils.java:172)
      	...
      Caused by: com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow: Work Type is required.
      	at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:450)
      	...
      Caused by: [InvalidInputException: [Error map: [{}]] [Error list: [[Work Type is required.]]]
      	at com.googlecode.jsu.util.ValidatorErrorsBuilder.process(ValidatorErrorsBuilder.java:45)
      	...
      

      It shouldn't be necessary for the user to get into the logs to find this error

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              malmeida Marcus Silveira
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: