18 lines
745 B
Markdown
18 lines
745 B
Markdown
---
|
|
description: List/search work packages. Args become filters, e.g. "my open bugs in Infra".
|
|
allowed-tools: Bash(python3 *op.py*), Bash(python *op.py*), Bash(ls *)
|
|
---
|
|
|
|
Use the **openproject** skill to list work packages matching the user's request: `$ARGUMENTS`
|
|
|
|
Translate the request into `op.py wp list` flags (`--assignee me`, `--status open`,
|
|
`--project NAME`, `--type Bug`, `--query TEXT`, `--sort id:desc`, `--limit N`), run it,
|
|
and summarize the results. If no arguments were given, default to the current user's
|
|
open items:
|
|
|
|
```bash
|
|
OP="${CLAUDE_PLUGIN_ROOT}/skills/openproject/scripts/op.py"
|
|
[ -f "$OP" ] || OP=$(ls "$PWD"/skills/openproject/scripts/op.py 2>/dev/null | head -1)
|
|
python3 "$OP" wp list --assignee me --status open
|
|
```
|