Skip to content

Commit 24ed7d1

Browse files
zwickCopilot
andcommitted
Trim issue read hierarchy wording
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a41312a commit 24ed7d1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ The following sets of tools are available:
857857
- `issue_number`: The number of the issue (number, required)
858858
- `method`: The read operation to perform on a single issue.
859859
Options are:
860-
1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. Use `get_parent` / `get_sub_issues` for full hierarchy. No writable parent field; use `sub_issue_write`.
860+
1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. No writable parent field; use `sub_issue_write`.
861861
2. get_comments - Get issue comments.
862862
3. get_sub_issues - Get sub-issues (children) of the issue.
863863
4. get_parent - Get the parent issue, if this issue is a sub-issue of another.

pkg/github/__toolsnaps__/issue_read.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "number"
1212
},
1313
"method": {
14-
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. Use `get_parent` / `get_sub_issues` for full hierarchy. No writable parent field; use `sub_issue_write`.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues (children) of the issue.\n4. get_parent - Get the parent issue, if this issue is a sub-issue of another.\n5. get_labels - Get labels assigned to the issue.\n",
14+
"description": "The read operation to perform on a single issue.\nOptions are:\n1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. No writable parent field; use `sub_issue_write`.\n2. get_comments - Get issue comments.\n3. get_sub_issues - Get sub-issues (children) of the issue.\n4. get_parent - Get the parent issue, if this issue is a sub-issue of another.\n5. get_labels - Get labels assigned to the issue.\n",
1515
"enum": [
1616
"get",
1717
"get_comments",

pkg/github/issues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ func IssueRead(t translations.TranslationHelperFunc) inventory.ServerTool {
615615
Type: "string",
616616
Description: "The read operation to perform on a single issue.\n" +
617617
"Options are:\n" +
618-
"1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. Use `get_parent` / `get_sub_issues` for full hierarchy. No writable parent field; use `sub_issue_write`.\n" +
618+
"1. get - Get issue details. Also returns best-effort hierarchy flags (`has_parent`, `has_children`); `parent` and `sub_issues_summary` are optional. No writable parent field; use `sub_issue_write`.\n" +
619619
"2. get_comments - Get issue comments.\n" +
620620
"3. get_sub_issues - Get sub-issues (children) of the issue.\n" +
621621
"4. get_parent - Get the parent issue, if this issue is a sub-issue of another.\n" +

0 commit comments

Comments
 (0)