I have collection Work Package which has a one-to-many relation to a Task collection. Tasks can exist without a Work Package.
I need a gantt view where all Work Packages and their related Tasks as a sub-level appear with their dates. In addition also Tasks without a Work Package should be shown with thier dates.
Trial 1:
database is Work Package and sub-level Task → Tasks without Work Package do not show
Trial 2:
database is Task and they are grouped by Work Package → all Tasks appear, but no dates for Work Package (see screenshot)
This is the cause, it shows WP and Tasks from this Cheminova (Project, I assume). If you need you see other WP and tasks you have two options: Switch off the filter above (switcher on Yellow area) or create a view outside Smart Folder
All Tasks are from the Cheminova project, they just dont have a Work Package relation. They show up in the same smart folder in a gantt view, when I select Tasks as database and group by Work Package (screenshot in first post). See example Task here:
In the Trial 1 the context filter will be only applied to the root level (Work Package in your case). Then we only display tasks related to the Work Packages, we don’t rely on the Project field here at all.
In the Trial 2, Tasks are considered as a root level, so it works. But there are no dates for the grouping level, indeed. This seems to me to be an incomplete feature.
You don’t have the same configuration. Yours is a context view, and Michael’s isn’t.
Context filters apply to only one level in the view, which is what Ihar was explaining
(but there can be multiple choices for the context filter ‘path’).