Open bryanph opened 5 years ago
I think this is a good idea. I personally have been using Toggl for over 3 years and always for just one service.
Also worth seeing https://github.com/toggl/toggl-button/issues/726 :crossed_flags:.
Just found this Issue while looking for the feature in the extension.
Namely our time entries for Jira need to be:
ABC-1234: The Task Description
but the Toggl extension formats them as:
ABC-1234 The Task Description
We have a sync job which needs the colon as a separator in order to extract the Jira task ID.
Adding a customize option (per-service) would be a huge help, #556 looks like it was on the right track.
This is a feature submitted initially through a PR here: #556
The idea is to allow the user to customize the time entry description based on data specific to the service. We currently have a simple default description:
"${taskId} ${description}"
With this feature this can be changed by the user, for example:
"Task #${taskId} - ${description}"
Implementation considerations
In the PR discussion, 2. was implemented paritally. The problem is that not all services provide a taskId so there must be some magic with changing the description string to account for when there is no taskId.
Perhaps a per-service custom string would be better since a user of toggl-button tends to use it for only one service anyway. This setting can be shown when we visit the service domain.