
Rewrote the script in python and leveraged the dictionary CSV processor to prevent field number mismatches. Combined the two scripts into one so that all user-facing issues that are fixed can be easily shown in the release notes.
15 lines
364 B
Bash
Executable File
15 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
if [ $# -ne 1 ]
|
|
then
|
|
echo "USAGE: $0 VERSION"
|
|
exit 1
|
|
fi
|
|
|
|
# Script location
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
version=$1
|
|
curl -s "https://jira.mariadb.org/sr/jira.issueviews:searchrequest-csv-all-fields/temp/SearchRequest.csv?jqlQuery=project+%3D+MXS+AND+status+%3D+Closed+AND+fixVersion+%3D+$version" | $DIR/process.py
|