Time tracking: Allow to add spend time via /spend comment #3209

Open
opened 2025-11-02 05:03:55 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @gsantner on GitHub (Apr 18, 2019).

  • Gitea version (or commit ref): 3fb038c
  • Git version: 2.17.1
  • Operating system: Deb9
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
    • No
    • Not relevant
  • Log gist:

Description

Currently you can only add spent time on a issue via the sidebar.

Would be great if you can spend time via comment, e.g. like at GitLab

/spend 2h 10m

would eg add 2h 10 minutes to tracked time.

Screenshots

https://docs.gitlab.com/ee/workflow/time-tracking/time-tracking-example.png

https://docs.gitlab.com/ee/workflow/time_tracking.html#how-to-enter-data

Originally created by @gsantner on GitHub (Apr 18, 2019). - Gitea version (or commit ref): 3fb038c - Git version: 2.17.1 - Operating system: Deb9 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes - [ ] No - [ ] Not relevant - Log gist: ## Description Currently you can only add spent time on a issue via the sidebar. Would be great if you can spend time via comment, e.g. like at GitLab ``` /spend 2h 10m ``` would eg add 2h 10 minutes to tracked time. ## Screenshots ![https://docs.gitlab.com/ee/workflow/time-tracking/time-tracking-example.png](https://docs.gitlab.com/ee/workflow/time-tracking/time-tracking-example.png) https://docs.gitlab.com/ee/workflow/time_tracking.html#how-to-enter-data
GiteaMirror added the outdated/theme/timetrackertype/proposal labels 2025-11-02 05:03:55 -06:00
Author
Owner

@gsantner commented on GitHub (Apr 18, 2019):

When somebody works e.g. on #2615 too I would suggest to also implement /estimate

@gsantner commented on GitHub (Apr 18, 2019): When somebody works e.g. on #2615 too I would suggest to also implement `/estimate`
Author
Owner

@adelowo commented on GitHub (Apr 18, 2019):

You can do this via web hooks.. Listen to comments and if it contains your syntax, add the time.

Doesn’t make much sense to add this to Gitea. Will eventually lead to bloat

@adelowo commented on GitHub (Apr 18, 2019): You can do this via web hooks.. Listen to comments and if it contains your syntax, add the time. Doesn’t make much sense to add this to Gitea. Will eventually lead to bloat
Author
Owner

@Pavithra-Veryx commented on GitHub (Jun 17, 2024):

how to add spend time in pull request

@Pavithra-Veryx commented on GitHub (Jun 17, 2024): how to add spend time in pull request
Author
Owner

@wxiaoguang commented on GitHub (Jun 17, 2024):

Maybe the time tracking could be implemented by Issue time estimate, meaningful time tracking #23113

@wxiaoguang commented on GitHub (Jun 17, 2024): Maybe the time tracking could be implemented by Issue time estimate, meaningful time tracking #23113
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3209