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

Line breaks in workflow XML result in transition crashes

XMLWordPrintable

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

      When importing a workflow xml maintained in IntelliJ I've run into the following exception a number of times:

      [INFO] [talledLocalContainer] 2010-11-21 22:33:58,862 http-2990-1 INFO admin 1353x9105x1 1epjgla 127.0.0.1 /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.DefaultOSWorkflowConfigurator] No TypeResolvers found registered for class 'com.bofa.gmrt.code.jiraworkflow.function.AssignIssueFromCustomField
      [INFO] [talledLocalContainer]                             '.
      

      This is caused by IntelliJ adding line breaks to elements when using CTRL+ALT+L to reformat the XML that is exported from Jira. A simple .trim() on the classname as it is parsed from the xml would solve this issue.

      For what it's worth I've attempted to tweak the IntelliJ XML syntaxes to stop this silliness and had no luck.

              Unassigned Unassigned
              688bafde9532 Jason Stiefel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: