mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
Merge PR #57686 into main
* refs/pull/57686/head: script/ceph-backport: update Ceph PR id Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
This commit is contained in:
commit
15eaef742e
@ -1749,9 +1749,9 @@ if [ "$TRACKER_PHASE" ] ; then
|
||||
desc_should_be="${backport_pr_url}"
|
||||
assignee_should_be="${redmine_user_id}"
|
||||
if [ "$EXISTING_PR" ] ; then
|
||||
data_binary="{\"issue\":{\"description\":\"${desc_should_be}\",\"status_id\":${status_should_be}}}"
|
||||
data_binary="{\"issue\":{\"description\":\"${desc_should_be}\",\"status_id\":${status_should_be},\"custom_fields\":[{\"id\":21,\"value\":\"${backport_pr_number}\"}]}}"
|
||||
else
|
||||
data_binary="{\"issue\":{\"description\":\"${desc_should_be}\",\"status_id\":${status_should_be},\"assigned_to_id\":${assignee_should_be}}}"
|
||||
data_binary="{\"issue\":{\"description\":\"${desc_should_be}\",\"status_id\":${status_should_be},\"assigned_to_id\":${assignee_should_be},\"custom_fields\":[{\"id\":21,\"value\":\"${backport_pr_number}\"}]}}"
|
||||
fi
|
||||
remote_api_status_code="$(curl --write-out '%{http_code}' --output /dev/null --silent -X PUT --header "Content-type: application/json" --data-binary "${data_binary}" "${redmine_url}.json?key=$redmine_key")"
|
||||
if [ "$FORCE" ] || [ "$EXISTING_PR" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user