# No subtasks listed in task view of dashboard?

**URL:** <https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670>\
**Category:** Questions\
**Created:** [March 5, 2023, 1:12pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670 "2023-03-05T13:12:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 5, 2023, 1:12pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/1 "2023-03-05T13:12:26Z")

</div>

Hey there,

I somehow I thought it would be by design that the _subtasks_ aren’t shown on the dashboards “my tasks” section. Thus I wanted to start to write a small plugin, which would still list subtasks there. Then I saw in the respecting `Template/dashboard/tasks.php`:

```php
<?= $this->render('task_list/task_subtasks', array(
     'task' => $task,
)) ?>

```

Doesn’t this mean that subtasks should be listed on this page after all and this might be a bug somehow?

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [March 5, 2023, 2:23pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/2 "2023-03-05T14:23:57Z")

</div>

> [@Subtasks clutter the Dashboard](https://kanboard.discourse.group/t/subtasks-clutter-the-dashboard/360):
>
> We use Kanboard for a while now in our company, and since day 1 I have and issue with the use of subtasks. I like the idea to separate a task into subtasks, but I dislike them for cluttering the dashboard. In an ideal world, I would be assigned several task-cards which consist of several subtasks. All the Kanban-Tasks would be set with due-dates, so I could use the dashboard to see “my work day” and so on. But as soon as I finish different subtasks across all my tasks, the dashboard gets kind of…

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 5, 2023, 3:07pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/3 "2023-03-05T15:07:22Z")

</div>

Hey creecros, thanks for the link. I found this thread but after quick reading I thought it might not be what I was looking for. I should re-read it more carefully, I guess. In case it still isn’t what I was lookig for, I will come back. Thanks!

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 5, 2023, 3:24pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/4 "2023-03-05T15:24:01Z")

</div>

Ok, I re-read the whole thread twice and looked again in all the mentioned files. Like I thought: is isn’t my described problem, at least as far as I understood your linked thread. In this thread the thread starter asked to **hide** done subtasks, basically. My issue here is somehow the opposite: subtasks aren’t shown on the dashboards _“my tasks”_ site. Aren’t they supposed to be listed there after all?

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [March 5, 2023, 5:14pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/5 "2023-03-05T17:14:45Z")

</div>

“My tasks” shows tasks that are assigned to you, but it will also show tasks not assigned to you, if there is a subtask assigned to you within the task.

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 5, 2023, 6:36pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/6 "2023-03-05T18:36:33Z")

</div>

Thanks for the explanation. Good to know! Yet in my case everything _(task and subtasks)_ are assigned to me and I do only see the tasks and not the subtasks on the “My tasks” site. Is this by design, since there is a dedicated “My subtasks” site, maybe?

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [March 5, 2023, 8:59pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/7 "2023-03-05T20:59:59Z")

</div>

yes, thats correct. “My Tasks” shows tasks.

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 6, 2023, 3:41pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/8 "2023-03-06T15:41:07Z")

</div>

So would there technically be a way at least to have subtasks shown there as well? Just asking, before I try to dig so deep … that in the end I would end up nowhere anyway. Thanks for your help! (=

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [March 6, 2023, 10:04pm UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/9 "2023-03-06T22:04:06Z")

</div>

Almost always, the answer will be yes. assuming you can code it.

But in this case, the layout you see when you click on “My subtasks” is what you want, then that makes it easy for you as you have a guide. you will just need to account for the variables that are being sent to the template, and what variables you may be missing to render the subtasks.

I will point out that in “My Task” view, you do have a tooltip that contains all the Subtasks already, not sure if you noticed.

---

<div class="post-metadata">

**Author:** ![Tagirijus](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/tagirijus/32/1528_2.png) [@Tagirijus](https://kanboard.discourse.group/u/Tagirijus)\
**Post date:** [March 7, 2023, 7:52am UTC](https://kanboard.discourse.group/t/no-subtasks-listed-in-task-view-of-dashboard/2670/10 "2023-03-07T07:52:47Z")

</div>

> [@creecros](#):
>
> click on “My subtasks” is what you want, then that makes it easy for you as you have a guide.

Yeah, I looked into this form the beginning already. I guess I have to dig deeper to better understand how the flow and logic is here _(or in Kanboard in general, hehe)_. It’s juts like: the first quoted code block is in the tasks template already. That’s why I was wondering why there isn’t any subtask. But maybe it’s just there for convenience or so and I would have to fetch the correct variables as well, or so … I will try to dig deeper when I find time. But thanks for the tip anyway, of course!

> [@creecros](#):
>
> I will point out that in “My Task” view, you do have a tooltip that contains all the Subtasks already, not sure if you noticed.

Thanks! Hehe, I already saw that, yeah. I just thought that I might find it better to see all task+subtasks on first sight already. But maybe I should continue using _Kanboard_ and see, if this default-workflow might already be cool enough.

In case I will continue digging here and come up with something, I will post a “solution” here. Thanks again for your kind help and your time. (=
