Last active
February 8, 2017 15:28
-
-
Save smunilla/dd9d74ff52d35618750a1ff21ce173bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
IFS=$'||' | |
PRODUCT="OpenShift Container Platform" | |
OUTPUT_FORMAT='{"bug_id": "%{bug_id}", "status": "%{status}, "versions": "%{versions}", target_release": "%{target_release}", "components": "%{components}"}||' | |
modified_bugs=$(bugzilla query --product="${PRODUCT}" --bug_status=MODIFIED --outputformat="${OUTPUT_FORMAT}") | |
for bug in $modified_bugs; do | |
echo -n ${bug} | |
done | |
unset IFS | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment