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

WorkDataFactory.getWorkDataIssueCountAndLastUpdated does not need to check permissions

    • 1
    • 5
    • 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.

      This method is intended to be a lightweight check of the number of existing issues and the maximum updated timestamp, but it can actually be quite expensive. From a NewRelic profile taken by an enterprise customer:

      This doesn't really need to check permissions, because the nastiest thing that can happen is that we leak information that some issue would be on their agile board if only they could see it. It seems strange that a developer wouldn't have permission to see issues on their board in the first place, so filtering the count and last updated timestamp seems unnecessary, here.

        1. 2015-10-20 JIRA Transaction trace detail WorkResource getPoolData 45 seconds.JPG
          317 kB
          Philip Schlesinger
        2. 2015-10-20 JIRA Transaction trace WorkResource getPoolData 45 seconds.JPG
          132 kB
          Philip Schlesinger
        3. jira-perf-issues 6.PNG
          45 kB
          currylm
        4. jira-perf-issues 7.PNG
          138 kB
          currylm
        5. WorkDataFactoryPermissions.png
          175 kB
          crf

            [JSWSERVER-11260] WorkDataFactory.getWorkDataIssueCountAndLastUpdated does not need to check permissions

            SET Analytics Bot made changes -
            Labels Original: enterprise performance pse-request triaged New: cleanup-seos-dc enterprise performance pse-request triaged
            SET Analytics Bot made changes -
            Support reference count Original: 3 New: 5
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3070291 ] New: JAC Suggestion Workflow 3 [ 3663654 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 5 New: 3

              Unassigned Unassigned
              cfuller crf
              Votes:
              29 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated: