Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-21952

Jira Software Cloud REST API endpoint GET /rest/agile/1.0/board/{boardId}/reports always returns an error "Board with id xxx is not an agility board" for Company Managed projects (works in Team managed)

    XMLWordPrintable

Details

    Description

      Issue Summary

      The REST API endpoint to GET board reports always returns below error when used to get reports from Company Managed projects:

      Board with id XXXX is not an agility board

       If the endpoint is not supposed to work with Company managed projects then this behavior has to be explicitly documented and the error message should be more clear (e.g. "the board with ID XXX does not belong to a Team Managed project").

      Steps to Reproduce

      1. Call the rest/agile/1.0/board/{BOARD_ID}/reports to get the reports for board from a Team Managed project. See that it works as expected and the list of reports is returned
      2. Call the same endpoint to get the reports for a board from a Company managed project

      Expected Results

      As for the Team Managed board/project, the list of reports is returned. Otherwise, if the endpoint is not supposed to work with Company managed projects, then this should be explicitly documented.

      Actual Results

      The below error message is returned:

      {
       "errorMessages": [
         "Board with id 1 is not an agility board"
        ], 
        "errors": { 
       }
      }
      

      Workaround

      No workaround

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbonotto Dario B
              Votes:
              13 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: