confluence task list filtered by current user
Asked by Kishan Vyas:

Trying to dynamically filter the task list based on the user that has logged in. I am trying to get a dynamic intranet landing page where I want individual task lists and activities displayed.

Can't find a solution where no coading required.


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: It may not be ideal in your case but logged in users can view the tasks assigned to them in their profile

<https://confluence.atlassian.com/doc/add-assign-and-view-tasks-590260030.html#Add,Assign,andViewTasks-Inyourprofile>

comments: author: Kishan Vyas
body: Hi Jobin

Yes, I am aware of that option. Thanks for posting your note though. I am looking to get it on the landing page. I am surprised that this option is not obvious. This can be done easily on JIRA boards but not in Confluence!

Thanks

Kishan


author: Jobin Kuruvilla [Adaptavist]
body: Yeah, it is an oversight. An additional option in the task report to show tasks for the current user, instead of a specified user, would have been nice.


author: Andrey Khaneev _StiltSoft_
body: Hello Kishan,

You can filter Task Report macro with [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro by [currently logged in user](https://docs.stiltsoft.com/pages/viewpage.action?pageId=9404471#ManagingDropdownFilters-Filteringthetablewithdropdownfilters).

comments: author: Kishan Vyas
body: Thanks Andrey,

It looks like it will solve the problem. I was hoping for a free solution though...

Regards

Kishan


author: Kim Trask
body: Hi [@Andrey Khaneev _StiltSoft_](/t5/user/viewprofilepage/user-id/781696) do you have a way to accomplish this on Confluence DC version 7.19? This is what I am looking for to dynamically generate a completed task list for the approaching user as opposed to a fixed user.


author: Stiltsoft support
body: Hi [@Kim Trask](/t5/user/viewprofilepage/user-id/4865450) ,

Yes, we support Confluence Data Center 6.7.0-8.4.0.

Wrap your Task Report macro in the Table Filter macro an add a dropdown filter for the 'Assignee' column:

![Tue 12-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/272332i347F6220B684A454/image-size/large?v=v2&px=999 "Tue 12-1.png")

Select the @currentuser option from the filter menu, and the Task report macro will be automatically filtered by the logged in user:

![Tue 12-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/272333iEF94F9F36FB82489/image-size/large?v=v2&px=999 "Tue 12-2.png")


author: Kim Trask
body: Thanks, [@Andrey Khaneev _StiltSoft_](/t5/user/viewprofilepage/user-id/781696)

I had attempted this yesterday prior to receiving this feedback, however, many of our tasks either do not mention an individual (thus, do not have a value in the "Assignee" field, or mention several individuals in the issue (thus, only the first @-mention is added as the assignee. The header filter for the assignee column will not meet our requirement and filter the task column is not available.

I tested a work-around by establishing a "whole table" filter in the Table Filter macro configuration and pointed it to "@currentUser," this does populate a closed Confluence task list for the current user, but it does so in a cumbersome way. It takes our roughly 800 closed Confluence tasks and displays them on roughly 20 tabs (maximum per tab is 40 tasks) but blanks-out where a @currentUser is not mentioned in the task at all. So all users see all 20 tabs and need to click through to find pages where they are mentioned. The gold-standard is still profile\>tasks\>closed tasks.

My users want to display Jira open-v-closed on the same page as Confluence open-v-closed. The Confluence display is still sloppy in-page (out of profile).

I will try to merge the Jira and Confluence lists using the Stiltsoft macro set to see if I can filter, then combine to shorten the lists. Just thought that there would be an easier elegant display for closed Confluence tasks for a given dynamic user because filtering the assignee column will not work for us per my first paragraph in this post.

Let me know if you have somethin else for me to test.

Best,

\~Kim


author: Stiltsoft support
body: Hi [@Kim Trask](/t5/user/viewprofilepage/user-id/4865450) ,

Unfortunately, the Task Report macro has its own pagination and we try to support this macro as best as we can.

To set a global filter is indeed a good workaround for your case.

We can also suggest looking into the [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?hosting=datacenter&tab=overview) app - it's another app developed by our team. As you are working with tasks, maybe you'll find useful their handy dates and statuses (you will be able to change them from the page view mode), handy reminders and [advanced task reports](https://docs.stiltsoft.com/hmfc/server-dc/handy-tasks/how-to-use-handy-tasks).

You may visit a [live demo](https://calendly.com/smart-handy-team/30min?month=2023-08) and check the main features - hope they will suit your needs.


author: Kim Trask
body: I will live with the global filter until a better solution presents. Also what works, using an iFrame macro to the Profile/tasks URL as it isn't parked with a specific user.


Tags: filter

ms-excel

table