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

TaskBoard.jspa contains JS for all JIRA users, not just those in the project

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium (View bug fix roadmap)
    • Release 3.1.1
    • Release 2.5.1
    • None
    • None
    • JIRA 3.12.2-#300
      FireFox 3.0
      Windows XP SP 2

      My TaskBoard.jsp is 600KB+ in size, not including the combined-boards-2.5.1.js.

      When looking why I found a line that contains this pattern:

      el.options[el.length]= new Option("aabo","aabo");
      if(sel == "aabo")el.options[el.length-1].selected=true;

      It does this for 2659 users !!!! My project only has a handful of users.

      The JS and CSS (although the CSS is minimal) are almost 600KB in size on their own, not including combined-boards-2.5.1.js!

      The culprits are the setPOptions(), setAOptions() and setReporterOptions() JS functions.

            [JSWSERVER-590] TaskBoard.jspa contains JS for all JIRA users, not just those in the project

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2854088 ] New: JAC Bug Workflow v3 [ 2937407 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2542789 ] New: JAC Bug Workflow v2 [ 2854088 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549403 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2542789 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 909411 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1549403 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 742853 ] New: JIRA Bug Workflow w Kanban v6 [ 909411 ]
            mtokar.adm made changes -
            Workflow Original: GreenHopper Kanban Workflow v2 [ 301332 ] New: GreenHopper Kanban Workflow 20141014 [ 742853 ]
            Stuart Bargon [Atlassian] made changes -
            Workflow Original: GreenHopper Kanban Workflow [ 296668 ] New: GreenHopper Kanban Workflow v2 [ 301332 ]
            Stuart Bargon [Atlassian] made changes -
            Workflow Original: Greenhopper [ 284766 ] New: GreenHopper Kanban Workflow [ 296668 ]
            Stuart Bargon [Atlassian] made changes -
            Workflow Original: jira [ 179727 ] New: Greenhopper [ 284766 ]
            Nabil Zakaria (Inactive) made changes -
            Project Import New: Thu Jul 30 21:28:20 CDT 2009 [ 1249007300873 ]

              jchuet JC
              34c43f2f-47b8-472c-92c4-9bb9ac14232d Deleted Account (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h
                  7h