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

Add Pagination to Importer Code to Prevent Timeouts from Trello Import

    XMLWordPrintable

Details

    • 17
    • 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.

      Summary

      Attempting to import from Trello using JIM generates a timeout error; Trello support suggests adding 'pagination to the import code' so that it does not timeout

      Environment

      • 7.1.0-OD-02

      Steps to Reproduce

      1. Attempt Import from Trello

      Expected Results

      Trello data is imported into the Cloud

      Actual Results

      Import fails and generates an HTTP 408 Error:

      2015-11-06 20:15:20,263 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
      com.atlassian.jira.plugins.importer.trello.fetch.TrelloParseException: Error "<!DOCTYPE html>
      <html lang="en">
      <head>
        <!-- meta -->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
        <meta name="language" content="en-US">
        <meta name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0">
        <!-- title -->
        <title>Trello Server Error</title>
        <!-- css -->
        <style type="text/css">
      
          * {
            margin: 0;
            padding: 0;
          }
          body {
            background: #F0F0F0;
            font: 14px/18px Arial, "Helvetica Neue", sans-serif;
            text-align: center;
          }
          #surface {
            margin: 40px auto;
            position: relative;
            width: 480px;
          }
          h1 {
            color: #222;
            font-size: 22px;
            font-weight: bold;
            line-height: 26px;
            margin-bottom: 10px;
          }
          p {
            margin-bottom: 10px;
          }
      
          @media all and (max-width: 480px) {
            #surface {
              margin: 40px 10px;
              width: 100%;
            }
          }
      
        </style>
      </head>
      
      <body>
        <div id="surface">
      
          <div style="text-align:center; padding:30px"><img src="https://d2k1ftgv7pobq7.cloudfront.net/images/maintenance/SleepyTaco.png" alt="Sleepy Taco" title="Sleepy Taco" /></div>
      
          <h1>Oh no! 408!</h1>
      
          <p>
          Taco says “Request Timeout”, but what does he know? He's just a dog.
          </p>
      
        </div>
      </body>
      </html>" returned when getting cards for board with ID {1}.

      Notes

      Customer Engaged with Trello Support and indicated that:

      The trello folks said you need to add pagination to the importer code so that it dosent timeout.

      Workaround

      CSV Import

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Anonymous Anonymous
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: