We really like the Macro for displaying task lists, but I have a large user base and was wondering if there was a way to make the tasklist display only tasks that have an assignee. We want to display all assigned tasks for a space. There is an assignee filter, but to get all assigned tasks I would have to add all 450 or so users to that list, which is not practical.
If the source code is available some where is sounds like an easy enough change to add if assignee != EMPTY then display the task.
Not sure how performant this would be but you could create a user macro that acts as a wrapper for the task report macro and will dynamically add in all of your users as assignees. I haven't tried it, so I'm not sure how fast or taxing on the server it would be, but it might be worth a test.
Interesting idea. Any thoughts on how to add in all the users? Do I create an array all the users? Of course then that would have to be maintained as well (every time a new employee is hired we have to change the macro), unless there is a way to automatically feed all the users in.
Like I said this might be slow but this user macro should do what you are wanting. ## @noparams <ac:structured-macro ac:name="tasks-report-macro"> <ac:parameter ac:name="assignees"> #foreach( $user in $userAccessor.getUserNamesWithConfluenceAccess() ) <ri:user ri:userkey="$userAccessor.getUser($user).key"/> #end </ac:parameter> </ac:structured-macro>
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs