PUT API request to /boards/{id} to close a board results in a 500 status code under specific scenario

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When performing a PUT API request to the /boards/{id} endpoint to close the board and adding the additional parameters name, desc , and prefs/background causes the API response to throw a 500 status code.

      This only happens when the board is open, when performing the same request when the board is closed, a 409 status code is returned.

      Steps to Reproduce

      1. Perform a PUT API request to the /boards/{id} containing the following parameters while a board is open:
      name
      desc
      prefs/background
      closed = true

      Expected Results

      The API response status code is 200 status code and all data is updated.

      Actual Results

      A 500 status code is returned by the API.

      Workaround

      While the closed = true parameters still work and the board is closed, to avoid having a 500 status response, first perform a request to update the required data on the board and then perform a second request to close the board.

            Assignee:
            Unassigned
            Reporter:
            Alisson Dalmago
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: