1. A computer program product for grouping related tasks, the computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to receive a first task initialization by a first user, wherein a task is at least one of: an application, a tab within a window, or a process that has a user interface, and wherein a task represents a work unit that belongs to a work assignment of the first user; program instructions to determine whether one or more additional tasks contained in one or more task groups are in use by the first user; responsive to determining one or more additional tasks contained in one or more task groups are in use, program instructions to determine whether the first task is related to at least one task of the one or more additional tasks, wherein the first task and the at least one task are related by sharing one or more resources; and responsive to determining the first task is related to at least one task of the one or more additional tasks, program instructions to add the first task to the task group containing the at least one related task of the one or more additional tasks.