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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 7.4.0, 7.5.0
    • Component/s: REST API
    • 7.04
    • 1
    • Severity 3 - Minor
    • 0

      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

            Assignee:
            Unassigned
            Reporter:
            Joshua Thomas (Inactive)
            Votes:
            18 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: