Uploaded image for project: 'TRELLO'
  1. TRELLO
  2. TRELLO-229

Using the `actions_before` parameter in Get a Board API returns results for ALL dates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Product - API
    • None
    • 2
    • Minor

      Issue Summary

      The `actions_before` parameter does not filter correctly.

      Steps to Reproduce

      1. Use the Get a Board API
      2. Refer to the Nested Resource for Actions on how to use the actions_before and actions_since parameters
      3. Do a GET on this endpoint and replace BOARD_ID, TRELLO_KEY, TRELLO_TOKEN with your own values:

        https://api.trello.com/1/boards/BOARD_ID?actions=all&actions_before=2024-04-15&action_fields=date&key=TRELLO_KEY&token=TRELLO_TOKEN 

      Expected Results

      Returns results from before 2024-04-15

      Actual Results

      Returns results on all dates, including the latest ones (after 2024-04-15)
      The `actions_since` parameter works as expected.

      Workaround

      Use the Get Actions of a Board API and the `before` parameter.

      https://api.trello.com/1/boards/BOARD_ID/actions?key=TRELLO_KEY&token=TRELLO_TOKEN&fields=date&before=2024-04-15

            Unassigned Unassigned
            e34e32beb823 Mutya A
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: