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

board-scope-filter executed too many time which leads to performance overhead

      Summary

      Agile board-scope-filter is responsible for adding Board information into request scope. Method getContext is executed too many time which leads to performance overhead since it executes another methods later:

      Steps to Reproduce

      1. Put a breakpoint to com.atlassian.greenhopper.web.sidebar.BoardScopeFilterContextProviderImpl#getContext
      2. Load issue or Kanban board

      Expected Results

      getContext is executed only once.

      Actual Results

      • To load an issue, it is executed 2 times;
      • To load a board, it is executed 2 times;
      • To load a project, it is executed 3-6 times;
      • Switching from Backlog to Active Sprints or vice versa, it is executed 3 times;

      Notes

      The current problem will be obsoleted after fixing JSWSERVER-19777.
      The logic of board-scope-filter was simplified in Jira 8.1.0, and it will no longer cause a performance problem.

      Workaround

      None

            [JSWSERVER-16185] board-scope-filter executed too many time which leads to performance overhead

            Andriy Yakovlev [Atlassian] made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 438198 ]
            Jakub Kurcek (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 417221 ]
            Kamil Kolonko made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Jakub Kurcek (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 417872 ]
            Jakub Kurcek (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 417870 ]
            Jakub Kurcek (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 417870 ]
            SET Analytics Bot made changes -
            UIS Original: 19 New: 21
            Jakub Kurcek (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 417221 ]
            Bugfix Automation Bot made changes -
            Minimum Version New: 7.02
            SET Analytics Bot made changes -
            UIS Original: 20 New: 19

              gtanczyk Grzegorz Tanczyk (Inactive)
              ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
              Affected customers:
              5 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: