Relate GitHub issues
github_issue_relateSet an issue's parent, sub-issues, blocked-by, and blocking links in one call; reads current relations and applies only differences, so reruns are safe.
Instructions
Set an issue's parent (parent or remove_parent), sub-issues, blocked-by and blocking issues (add_ and remove_ lists) in one call. It reads the current relations first and sends only the difference, so a rerun is safe; what already holds is listed as unchanged. GitHub allows 100 sub-issues per parent, all of one owner. Every other repository named needs write permission too and is listed in other_repos. An issue is 12, #12, owner/repo#12 or its URL; a bare number means the issue's repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | owner/name; defaults to the working tree's repository (its origin). Used for a bare number. | |
| issue | Yes | The issue, as 12, #12, owner/repo#12 or its URL. | |
| parent | No | The issue to set as the parent: 12, #12, owner/repo#12 or its URL; a bare number means the issue's repository. | |
| add_blocking | No | Issues this one blocks, in the same forms. | |
| remove_parent | No | Take the issue out of its parent; not with parent. | |
| add_blocked_by | No | Issues that block this one, in the same forms. | |
| add_sub_issues | No | Issues to add as sub-issues: 12, #12, owner/repo#12 or its URL; a bare number means the issue's repository. | |
| remove_blocking | No | ||
| remove_blocked_by | No | ||
| remove_sub_issues | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| issue | Yes | ||
| parent | Yes | ||
| foreign | Yes | ||
| blocking | Yes | ||
| blocked_by | Yes | ||
| sub_issues | Yes | ||
| other_repos | Yes | The other repositories the relations name, each checked for write permission. |