jiradc-cli 1.0.20 → 2.0.0-g40cd2b1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +13 -6
  2. package/dist/index.js +788 -537
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -37,14 +37,17 @@ All commands output JSON. Add `--pretty` to pretty-print.
37
37
  | `jiradc issue assign <key> <user>` | Assign issue (user can be a username, `me`, or `none` to unassign) |
38
38
  | `jiradc issue transition <key>` | Transition issue to a new status (`--to` accepts ID or status name, `--comment` to add a note) |
39
39
  | `jiradc issue transitions <key>` | List available transitions |
40
- | `jiradc issue comment <key>` | Add a comment |
41
- | `jiradc issue comment-edit <key> <commentId>` | Edit a comment |
40
+ | `jiradc issue comment add <key>` | Add a comment (`--body`) |
41
+ | `jiradc issue comment edit <key>` | Edit a comment (`--id`, `--body`) |
42
+ | `jiradc issue comment delete <key>` | Delete a comment (`--id`) |
42
43
  | `jiradc issue link <key> <targetKey>` | Link two issues (`--type` link type name) |
43
44
  | `jiradc issue unlink <linkId>` | Remove a link |
44
45
  | `jiradc issue link-types` | List available link types |
45
46
  | `jiradc issue link-epic <keys...>` | Link one or more issues to an epic (`--epic <epicKey>`) |
46
- | `jiradc issue worklog <key>` | Add a work log entry |
47
- | `jiradc issue get-worklog <key>` | Get work log entries |
47
+ | `jiradc issue worklog add <key>` | Add a work log entry (`--time`, `--comment`, `--started`) |
48
+ | `jiradc issue worklog list <key>` | Get work log entries |
49
+ | `jiradc issue worklog edit <key>` | Update a work log entry (`--id`, `--time`, `--comment`, `--started`, `--adjust-estimate`, `--new-estimate`) |
50
+ | `jiradc issue worklog delete <key>` | Delete a work log entry (`--id`, `--adjust-estimate`, `--new-estimate`, `--increase-by`) |
48
51
  | `jiradc issue changelog <key>` | Get issue changelog |
49
52
  | `jiradc issue batch-changelog` | Get changelog for multiple issues (`--keys`) |
50
53
  | `jiradc issue clone <key>` | Clone an issue with subtasks |
@@ -93,6 +96,7 @@ All commands output JSON. Add `--pretty` to pretty-print.
93
96
  | `jiradc sprint issues <boardId> <sprintId>` | Get issues in a sprint |
94
97
  | `jiradc sprint create <boardId>` | Create a sprint |
95
98
  | `jiradc sprint update <sprintId>` | Update a sprint |
99
+ | `jiradc sprint delete <sprintId>` | Delete a sprint (returns its issues to the backlog) |
96
100
 
97
101
  ### field
98
102
 
@@ -151,13 +155,16 @@ jiradc issue update AI-123 --fix-versions 1.0,2.0
151
155
  jiradc issue link-epic AI-456 AI-457 AI-458 --epic AI-100
152
156
 
153
157
  # Add a comment
154
- jiradc issue comment AI-123 --body "Fixed in commit abc123"
158
+ jiradc issue comment add AI-123 --body "Fixed in commit abc123"
159
+
160
+ # Delete a comment
161
+ jiradc issue comment delete AI-123 --id 12345
155
162
 
156
163
  # Link two issues
157
164
  jiradc issue link AI-123 AI-456 --type "blocks"
158
165
 
159
166
  # Log work
160
- jiradc issue worklog AI-123 --time "2h 30m" --comment "Code review"
167
+ jiradc issue worklog add AI-123 --time "2h 30m" --comment "Code review"
161
168
 
162
169
  # List active sprints
163
170
  jiradc sprint list 42 --state active