11 lines
476 B
Markdown
11 lines
476 B
Markdown
|
|
---
|
||
|
|
description: Log time on a work package, e.g. /op-time 1234 1.5h debugging the cron.
|
||
|
|
allowed-tools: Bash(python3 *op.py*), Bash(python *op.py*), Bash(ls *)
|
||
|
|
---
|
||
|
|
|
||
|
|
Log time against an OpenProject work package. Input: `$ARGUMENTS`
|
||
|
|
|
||
|
|
Using the **openproject** skill, parse the work package id, the hours (e.g. `1.5h`,
|
||
|
|
`45m`), and an optional comment, then run `op.py time log --wp ID --hours N
|
||
|
|
[--comment "..."] [--date YYYY-MM-DD]`. Confirm the logged amount back to the user.
|