Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Updated docs (log time for others)

Parimal Satyal5327d553b767
diff --git a/docs/user-guide/time-and-costs/time-tracking/README.md b/docs/user-guide/time-and-costs/time-tracking/README.md
index 295afd52d5f..29b2d9b3d82 100644
--- a/docs/user-guide/time-and-costs/time-tracking/README.md
+++ b/docs/user-guide/time-and-costs/time-tracking/README.md
@@ -15,19 +15,20 @@ Users can book their time or units spent on an activity within a project directl
| Topic | Content |
| ------------------------------------------------------------ | ------------------------------------------------------------ |
-| [Logging time](#logging-time-in-the-work-package-view) | How to log time to work packages? |
+| [Logging time](#logging-time-in-the-work-package-view) | How to log time to work packages
| [Logging time via commit message](#logging-time-via-commit-message) | How to log time via a commit message to a work package? |
-| [Edit logged time](#edit-logged-time) | How to edit logged time on a work package? |
-| [Delete time entries](#delete-time-entries) | How to delete time entries logged to a work package? |
+| [Edit logged time](#edit-logged-time) | How to edit logged time on a work package |
+| [Delete time entries](#delete-time-entries) | How to delete time entries logged to a work package |
+| [Logging and editing time for other users](#logging-and-editing-time-for-other-users) | How to log time to work packages |
| [Spent time widget on the My Page](#spent-time-widget-on-the-my-page) | How to easily track and display spent time in the spent time widget on the MyPage? |
-| [Track time with Toggl](./toggl-integration) | How to track spent time with Toggl integration? |
+| [Track time with Toggl](./toggl-integration) | How to track spent time with Toggl integration |
## Logging time in the work package view
In order to log spent hours for a certain activity, open the details of the corresponding work package. Select **Log time** from the **More functions** drop down menu, the icon with the three dots in the top right of the work packages details. Or use the **Log time** icon next to **Spent time**.
-![time-logging-work-package](time-logging-work-package.png)
+![Log time from a work package](log-time-work-package.png)
You will be directed to the detailed view to log time where you can edit the following:
@@ -41,7 +42,6 @@ You will be directed to the detailed view to log time where you can edit the fol
The aggregated time spent on a work package is shown in the work package details view.
-![spent-time-work-package](spent-time-work-package.png)
## Logging time via commit message
@@ -53,7 +53,7 @@ To log time to a work package via a commit message you need to use the followin
To edit logged time, click in the amount of the **Spent time** in the work packages details view.
-![edit-logged-time](edit-logged-time-1305994.png)
+![Click on the number of spent time to edit](edit-logged-time.png)
This will bring you to the time tracking report where you will see all time entries to this work package.
@@ -71,7 +71,32 @@ In the list of time entries, click on the **Delete** icon next to a time entry t
![image-20201005143324624](image-20201005143324624.png)
+## Logging and editing time for other users
+Starting with OpenProject 12.2, users with certain roles are able to log and edit time for other users.
+
+> To enable this functionality, an administrator has to accord this privilege to a particular role in the **Roles and Permissions** section under **Users and Permissions** in the administrator settings.
+>
+> There are two new permissions that can be enabled.
+>
+> - *Log time for other users* allows users with that role to log time on behalf of other users
+> - *Edit time logs* for other users allows users with that role to modify and adjust time logged for other users
+>
+> <img src="permissions-log-time-others.png" alt="Permissions to log and edit time for others " style="zoom:50%;" />
+
+Once the permissions have been granted, you will notice subtle differences in the interface.
+
+The **Log time** modal now has a new field called "User", that allows you to select a user other than yourself:
+
+<img src="log-time-with-user-field.png" alt="Log time now has a user field" style="zoom:50%;" />
+
+
+
+When accessing cost reports, you will see a new column titled "Logged by". The author of the logged time can be different from the user for whom the time is logged:
+
+<img src="cost-report-logged-by.png" alt="Logged by field" style="zoom:50%;" />
+
+A user with permissions to edit time logged by other users can edit each entry as they would their own. The "Logged by" field will always display the name of the user who made the last edit.
## Track labor costs
diff --git a/docs/user-guide/time-and-costs/time-tracking/edit-logged-time-1305994.png b/docs/user-guide/time-and-costs/time-tracking/_old/edit-logged-time-1305994.png
similarity index 100%
rename from docs/user-guide/time-and-costs/time-tracking/edit-logged-time-1305994.png
rename to docs/user-guide/time-and-costs/time-tracking/_old/edit-logged-time-1305994.png
diff --git a/docs/user-guide/time-and-costs/time-tracking/time-logging-work-package.png b/docs/user-guide/time-and-costs/time-tracking/_old/time-logging-work-package.png
similarity index 100%
rename from docs/user-guide/time-and-costs/time-tracking/time-logging-work-package.png
rename to docs/user-guide/time-and-costs/time-tracking/_old/time-logging-work-package.png
diff --git a/docs/user-guide/time-and-costs/time-tracking/cost-report-logged-by.png b/docs/user-guide/time-and-costs/time-tracking/cost-report-logged-by.png
new file mode 100644
index 00000000000..4253791ebd1
Binary files /dev/null and b/docs/user-guide/time-and-costs/time-tracking/cost-report-logged-by.png differ
diff --git a/docs/user-guide/time-and-costs/time-tracking/edit-logged-time.png b/docs/user-guide/time-and-costs/time-tracking/edit-logged-time.png
new file mode 100644
index 00000000000..fffc914fee3
Binary files /dev/null and b/docs/user-guide/time-and-costs/time-tracking/edit-logged-time.png differ
diff --git a/docs/user-guide/time-and-costs/time-tracking/log-time-with-user-field.png b/docs/user-guide/time-and-costs/time-tracking/log-time-with-user-field.png
new file mode 100644
index 00000000000..d78e2787f4a
Binary files /dev/null and b/docs/user-guide/time-and-costs/time-tracking/log-time-with-user-field.png differ
diff --git a/docs/user-guide/time-and-costs/time-tracking/log-time-work-package.png b/docs/user-guide/time-and-costs/time-tracking/log-time-work-package.png
new file mode 100644
index 00000000000..88d8ebf1ccf
Binary files /dev/null and b/docs/user-guide/time-and-costs/time-tracking/log-time-work-package.png differ
diff --git a/docs/user-guide/time-and-costs/time-tracking/permissions-log-time-others.png b/docs/user-guide/time-and-costs/time-tracking/permissions-log-time-others.png
new file mode 100644
index 00000000000..540c22b2097
Binary files /dev/null and b/docs/user-guide/time-and-costs/time-tracking/permissions-log-time-others.png differ