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

WorkDataFactory.getWorkDataIssueCountAndLastUpdated does not need to check permissions

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: