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

Get projects API doesn't return projects if JQL returns all but a few excluded projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 7.4.0, 7.5.0
    • REST API

    Description

      Summary

      On creating a board with a JQL filter which results in issues from all but a few excluded project, the following REST API,

      GET /rest/agile/1.0/board/{boardId}/project
      

      does not return any projects for that board.

      Examples of affected JQL queries,

      • project != ABC
      • project NOT IN (ABC,XYZ)

      Steps to Reproduce

      1. Create a board in Jira
      2. Modify the filter query of the board to include the conditions shown in the above examples.
      3. Get results from the REST API command above

      Expected Results

      The query returns projects that are listed based on the JQL query

      Actual Results

      No projects are shown

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jthomas2@atlassian.com Joshua Thomas (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: