File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ parent_issue_id=$(fetch_issue_id "$org" "$repo" "$parent_issue_number")
4747# Fetch the child issue ID given the issue number
4848child_issue_id=$( fetch_issue_id " $org " " $repo " " $child_issue_number " )
4949
50- # Set the issue type on the issue
50+ # Add the sub- issue to the parent issue
5151gh api graphql -H GraphQL-Features:issue_types -H GraphQL-Features:sub_issues -f parrentIssueId=" $parent_issue_id " -f childIssueId=" $child_issue_id " -f query='
5252mutation($parrentIssueId: ID!, $childIssueId: ID!) {
5353 addSubIssue(input: { issueId: $parrentIssueId, subIssueId: $childIssueId }) {
Original file line number Diff line number Diff line change 6969 exit 1
7070fi
7171
72- # Set the issue type on the issue
72+ # Remove the sub- issue from the parent issue
7373gh api graphql -H GraphQL-Features:issue_types -H GraphQL-Features:sub_issues -f parrentIssueId=" $parent_issue_id " -f childIssueId=" $child_issue_id " -f query='
7474mutation($parrentIssueId: ID!, $childIssueId: ID!) {
7575 removeSubIssue(input: { issueId: $parrentIssueId, subIssueId: $childIssueId }) {
You can’t perform that action at this time.
0 commit comments