Skip to content

Enhancement: Task filters for date state, start date and excluded assignees - #144

Merged
rafaeljusto merged 1 commit into
mainfrom
feature/task-filters
Sep 4, 2026
Merged

Enhancement: Task filters for date state, start date and excluded assignees#144
rafaeljusto merged 1 commit into
mainfrom
feature/task-filters

Conversation

@rafaeljusto

Copy link
Copy Markdown
Contributor

Description

The tasks endpoint takes three filters, none modelled: taskFilter, startDate and the new excludeResponsiblePartyIds.

DateFilter carries taskFilter as a TaskDateFilter vocabulary, with each constant documenting what it returns.

StartAfter is startDate, an inclusive bound on the task's own start date with no milestone fallback. The endpoint's companion endDate is deliberately not modelled: alone it bounds the due date, which DueBefore already covers, and sent beside startDate it stops the endpoint from reading either one as a bound at all, switching to a due-date window it rejects with 400 past a maximum width. So there is no start-date upper bound to pair StartAfter with.

ExcludeAssigneeUserIDs drops a task if any listed user is assigned to it, whatever its other assignees are, and matches direct assignment only.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • Tests pass locally (go test -v ./...)
  • Added/updated tests for new functionality

Checklist

  • Code follows project style guidelines
  • Self-reviewed the code
  • Added necessary documentation
  • No new warnings or errors

…ignees

The tasks endpoint takes three filters nothing modelled: taskFilter, startDate
and the new excludeResponsiblePartyIds.

DateFilter carries taskFilter as a TaskDateFilter vocabulary, with each constant
documenting what it returns.

StartAfter is startDate, an inclusive bound on the task's own start date with no
milestone fallback. The endpoint's companion endDate is deliberately not
modelled: alone it bounds the due date, which DueBefore already covers, and sent
beside startDate it stops the endpoint reading either one as a bound at all,
switching to a due-date window it rejects with 400 past a maximum width. So
there is no start-date upper bound to pair StartAfter with.

ExcludeAssigneeUserIDs drops a task any listed user is assigned to, whatever its
other assignees are, and matches direct assignment only.
@rafaeljusto
rafaeljusto marked this pull request as ready for review September 4, 2026 11:10
@rafaeljusto
rafaeljusto requested a review from a team as a code owner September 4, 2026 11:10
@rafaeljusto
rafaeljusto merged commit 33679ed into main Sep 4, 2026
4 checks passed
@rafaeljusto
rafaeljusto deleted the feature/task-filters branch September 4, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant