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

Importing Trello board does not validate content [Trello Importer Plugin]

    XMLWordPrintable

Details

    Description

      Summary

      When importing Trello Boards into JIRA, if the Trello Board contains an '&' character in a list title this causes some problems with the import as per the attached exception in the logs. The import fails with an exception (attached to this issue).

      However, some of the artefacts actually do get imported, causing the following error to appear every time you try to access the Admin Workflows page: ie: http://localhost:8080/jira/secure/admin/workflows/ListWorkflows.jspa

      Steps to Reproduce

      1. Install the Trello Importer for JIM
      2. Import a Trello Board with an "&" in the name of a list
      3. Observe the exception when importing the board
      4. Observe that you can no longer view workflows
      5. Observe the following exception in the logs when accessing the ListWorkflows page:
        com.opensymphony.workflow.FactoryException: Error converting XML to workflow descriptor.: root cause: The entity name must immediately follow the '&' in the entity reference. (line:159 col:66)
        

      Expected Results

      • A Failed import should not make changes to the JIRA environment

      Actual Results

      • The import fails with an exception.

      Notes

      • Screenshot of ListWorkflows after a failed import is attached.

      Workaround

      The Environment can be fixed with the instructions listed here

      Remove the '&' character from the Trello Board and reattempt the import.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              majones Matt Jones (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: