Skip to content

Commit a7ea4fa

Browse files
committed
[#74316] document JSON WP workflows
Add README examples for the new machine-readable Work Package flows: inspect with children, parent-aware create dry-runs, and schema-driven update dry-runs. https://community.openproject.org/projects/cli/work_packages/74316
1 parent 2eb3a13 commit a7ea4fa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ op create workpackge --project 11 'Document new CLI tool'
150150

151151
# Same command with shorthands and directly open it in a browser to continue working on it.
152152
op create workpackge -p11 'Document new CLI tool' -o
153+
154+
# Validating the creation of a child work package without persisting it.
155+
# The parent determines the project automatically.
156+
op create workpackage --parent 74316 --type Implementation 'Build reusable skill' --dry-run --json
153157
```
154158

155159
#### Listing

0 commit comments

Comments
 (0)