114 -u "${username}:${password}" \ |
114 -u "${username}:${password}" \ |
115 -d "$json" \ |
115 -d "$json" \ |
116 -o "$response" \ |
116 -o "$response" \ |
117 "https://api.bitbucket.org/2.0/repositories/${upstream}/pullrequests" \ |
117 "https://api.bitbucket.org/2.0/repositories/${upstream}/pullrequests" \ |
118 >/dev/stdout 2>&1 |
118 >/dev/stdout 2>&1 |
119 |
|
120 echo "response JSON: $response" |
|
121 |
|
122 # if [ -n "$bturl" -a -n "$btuser" -a -n "$btpass" -a -n "$ticket" ] |
|
123 # then |
|
124 # titlefile=$(tempfile) |
|
125 # echo -n $title >$titlefile |
|
126 # python $selfpath/pullreq_to_mantisbt.py "$bturl" "$btuser" "$btpass" "$ticket" "$response" "$titlefile" |
|
127 # rm $titlefile |
|
128 # fi |
|