aboutsummaryrefslogtreecommitdiffstats
path: root/.extras
diff options
context:
space:
mode:
Diffstat (limited to '.extras')
-rwxr-xr-x.extras6
1 files changed, 6 insertions, 0 deletions
diff --git a/.extras b/.extras
index 7518fbf..eff3e3f 100755
--- a/.extras
+++ b/.extras
@@ -12,3 +12,9 @@ function nt() {
fi
}
+function getBjerkIssues() {
+ gh issue list --repo bjerkio/internal \
+ --search "-label:backlog -label:kind/system" \
+ --json title,body,url,createdAt,assignees,number,labels,comments \
+ --jq 'map({url, createdAt, title, labels: [.labels[].name], assignees: [.assignees[].login], body, number: "#\(.number)", comments: .comments | map({ body: .body, createdAt: .createdAt })})'
+}