If you would like to see all tasks of your department, e.g. all tasks of the developers team, the most efficient way is to assign every user in your department a tag. Now you can create a smart list using the tag as a filter and you are done.
#gif how to add tags or phrase "You can learn how to add tags to users here."#