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

XMLWordPrintable

      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

              gtanczyk Grzegorz Tanczyk (Inactive)
              ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: