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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: