Skip to content

[#73104] Add Sprint column to work package table#22706

Draft
EinLama wants to merge 4 commits intodevfrom
feature/73104-sprint-column-sort-and-group-for-work-packages-table
Draft

[#73104] Add Sprint column to work package table#22706
EinLama wants to merge 4 commits intodevfrom
feature/73104-sprint-column-sort-and-group-for-work-packages-table

Conversation

@EinLama
Copy link
Copy Markdown
Contributor

@EinLama EinLama commented Apr 9, 2026

Ticket

https://community.openproject.org/wp/73104

What are you trying to accomplish?

Allows you to select the sprint column within the work package table and sort and group it.

Requires the view_sprint permission in a project to be available.

Screenshots

image

What approach did you choose and why?

There are some notable points here:

  • Sorting uses the sprint name (as this is what the user sees in the work packages table). After that, sprints of the same name are sorted via start and finish dates.
  • Added the ability for models to provide an API resource link name. A resource link is necessary to make grouping work. The previous implementation added a manual mapping for some classes. Agile::Sprint would be converted to agile_sprint, but sprint is correct. So we have to add a mapping. Since the core should not be required to know about the backlogs module, I added a way for models to provide their API resource link name. The given name will be used by the mapping if available.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@EinLama EinLama force-pushed the feature/73104-sprint-column-sort-and-group-for-work-packages-table branch from 7b12857 to 70ab2ae Compare April 10, 2026 08:18
@EinLama EinLama force-pushed the feature/73104-sprint-column-sort-and-group-for-work-packages-table branch from a29ba86 to 8b50e1e Compare April 10, 2026 18:10
We delegate the resource name to the object itself, that way we can
override it in our record and no knowledge about the backlogs module is
necessary in the core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant