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

XMLWordPrintable

    • 7.02
    • 16
    • Severity 2 - Major
    • 21

      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

            Assignee:
            Grzegorz Tanczyk (Inactive)
            Reporter:
            Andriy Yakovlev [Atlassian]
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: