NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.

      Summary

      When a non administrator user attempts to display sprints using the openSprints() JQL, they display the error as per the attached screenshot.

      Environment

      • JIRA 5.2.10
      • OS X 10.7.5
      • PostgreSQL 9.1

      Steps to Reproduce

      1. Create a new sprint.
      2. Add issues to it.
      3. Delete those issues.
      4. Attempt to view the sprint using a user that does not have the Administrator Global Permission, for example:
        project = JRA and Sprint in opensprints()
        

        This can be reproduced here with https://jira.atlassian.com/issues/?jql=project%20%3D%20JRA%20and%20Sprint%20in%20opensprints()

      Expected Results

      There is no error presented to the user.

      Actual Results

      The user will receive the error as per the attached screenshot and below:

      Sprint with id 104 does not exist or you do not have permission to view it.

      Notes

      Similar to GHS-7659.

            [JSWSERVER-8401] openSprints() JQL returns error if no open sprints exist

            Bugfix Automation Bot made changes -
            Minimum Version New: 6.01
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2851464 ] New: JAC Bug Workflow v3 [ 2936799 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2544142 ] New: JAC Bug Workflow v2 [ 2851464 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550678 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2544142 ]
            jonah (Inactive) made changes -
            Description Original: h3. Summary

            When a non administrator user attempts to display sprints using the {{openSprints()}} JQL, they display the error as per the attached screenshot.

            h3. Environment

            * JIRA 5.2.10
            * OS X 10.7.5
            * PostgreSQL 9.1

            h3. Steps to Reproduce

            # Create a new sprint.
            # Add issues to it.
            # Delete those issues.
            # Attempt to view the sprint using a user that does not have the *Administrator* [Global Permission|http://confluence.atlassian.com/display/JIRA/Managing+Global+Permissions], for example:
            {noformat}
            project = JRA and Sprint in opensprints()
            {noformat}
            (i) This can be reproduced here with [https://jira.atlassian.com/issues/?jql=project%20%3D%20JRA%20and%20Sprint%20in%20opensprints()]

            h3. Expected Results

            There is no error presented to the user.

            h3. Actual Results

            The user will receive the error as per the attached screenshot and below:
            {quote}
            Sprint with id 104 does not exist or you do not have permission to view it.

            {quote}

            h3. Notes

            Similar to GHS-7659.
            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This bug report is for *JIRA Software Server*. Using *JIRA Software Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JSWCLOUD-8401].
              {panel}

            h3. Summary

            When a non administrator user attempts to display sprints using the {{openSprints()}} JQL, they display the error as per the attached screenshot.

            h3. Environment

            * JIRA 5.2.10
            * OS X 10.7.5
            * PostgreSQL 9.1

            h3. Steps to Reproduce

            # Create a new sprint.
            # Add issues to it.
            # Delete those issues.
            # Attempt to view the sprint using a user that does not have the *Administrator* [Global Permission|http://confluence.atlassian.com/display/JIRA/Managing+Global+Permissions], for example:
            {noformat}
            project = JRA and Sprint in opensprints()
            {noformat}
            (i) This can be reproduced here with [https://jira.atlassian.com/issues/?jql=project%20%3D%20JRA%20and%20Sprint%20in%20opensprints()]

            h3. Expected Results

            There is no error presented to the user.

            h3. Actual Results

            The user will receive the error as per the attached screenshot and below:
            {quote}
            Sprint with id 104 does not exist or you do not have permission to view it.

            {quote}

            h3. Notes

            Similar to GHS-7659.
            jonah (Inactive) made changes -
            Link New: This issue relates to JSWCLOUD-8401 [ JSWCLOUD-8401 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: affects-server fixme New: affects-cloud affects-server fixme
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: fixme New: affects-server fixme
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 909331 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1550678 ]
            Oswaldo Hernandez (Inactive) made changes -
            Workflow Original: GreenHopper Kanban Workflow 20141014 [ 747058 ] New: JIRA Bug Workflow w Kanban v6 [ 909331 ]

              mtokar Michael Tokar
              dcurrie@atlassian.com Dave C
              Affected customers:
              12 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: