Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-19558

Kanban board - IssueIdCallback loads documents to get only id

    XMLWordPrintable

Details

    • Hide
      Atlassian Update – 21 December 2018

      Dear Jira users,

      We’re glad to announce that this issue will be addressed in our upcoming 8.0 release.

      You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588

      Looking forward to your feedback!

      Kind regards,
      Syed Masood
      Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 21 December 2018 Dear Jira users, We’re glad to announce that this issue will be addressed in our upcoming 8.0 release. You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588 Looking forward to your feedback! Kind regards, Syed Masood Product Manager, Jira Server and Data Center
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem

      Loading of Kanban is slow in case of many Swimlanes and/or CardColors.
      See kanban-board loading is slow for context.
      This computation is done as part of /rest/greenhopper/1.0/xboard/work/allData.json API request.
      One of the reasons: IssueIdCallback is loading the whole Lucene document to extract only issue_id.
      Context: This callback is used for swimlanes, card colours and getting ids of visible issues.

      Suggestion

      It could be rewritten to operate with SortedDocValues, which should be faster since it doesn't require to load the whole document from the index

      Results

      Ridiculous dataset:

      • Backlog with 10k issues
      • 11 JQL-based colours
        • Each color query returns almost all 10k issues

      Time to calculate colours:
      1,4sec -> 80msec

      Attachments

        Issue Links

          Activity

            People

              izinoviev Ilya Zinoviev (Inactive)
              izinoviev Ilya Zinoviev (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: