We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff6f096 commit 68afaa8Copy full SHA for 68afaa8
etc/copy-ticket.sh
@@ -0,0 +1,13 @@
1
+#!/bin/bash
2
+
3
+sourceGh="GH-$1"
4
+json=$(gh issue view $1 --json=title,labels)
5
6
+title=$(echo $json | jq -r '.title')
7
+labels=$(echo $json | jq -r '.labels[].name' | paste -sd ',' -)
8
9
+gh issue create --title "$title" \
10
+ --body "Back-port of $sourceGh." \
11
+ --label "$labels" \
12
+ --assignee "@me" \
13
+ --milestone "$2"
0 commit comments