summary refs log tree commit diff
path: root/.local/bin/jira-codereview
diff options
context:
space:
mode:
authorZach DeCook <zach.decook@bettercarpeople.com>2026-03-25 09:30:02 -0400
committerZach DeCook <zach.decook@bettercarpeople.com>2026-03-25 09:30:02 -0400
commit8bb67873e50931e347e58a95bfb822ea4e3572a6 (patch)
treed88646ecf1fe8101534edc6e8c07563bcf75f3ab /.local/bin/jira-codereview
parent2e51849aeba91ea3ce29005dde28f1d163f31e90 (diff)
downloaddotfiles-8bb67873e50931e347e58a95bfb822ea4e3572a6.tar.gz
jira-CR.php: Show failed tests and tickets without PR's bcp
Diffstat (limited to '.local/bin/jira-codereview')
-rwxr-xr-x.local/bin/jira-codereview4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/jira-codereview b/.local/bin/jira-codereview
index 9fbdfc3..3b10c10 100755
--- a/.local/bin/jira-codereview
+++ b/.local/bin/jira-codereview
@@ -9,7 +9,9 @@ if test "$ticket"; then
     echo "Reviewing $ticket ..."
     # ugh
     #xdg-open https://proactivedealersolutions.atlassian.net/browse/$ticket
-    xdg-open "https://github.com/pulls?q=is%3Aopen+is%3Apr+user%3ABetterCarPeople+$ticket"
+    if ! test "$2" = "noopen"; then
+        xdg-open "https://github.com/pulls?q=is%3Aopen+is%3Apr+user%3ABetterCarPeople+$ticket"
+    fi
     #xdg-open "https://github.com/search?q=is%3Aopen+is%3Apr+org%3ABetterCarPeople+$ticket"
 else
     exit 1;