-
Remove looped emails:
python-gitlab -o json -c ./python-gitlab.cfg project-issue list --project-id 1775 --get-all > list.json cat list.json| jq -r '.[]| select(.service_desk_reply_to=="badguy@example.com") | { iid }' | jq '.iid' | xargs -n 1 -P 10 python-gitlab -c ./python-gitlab.cfg project-issue delete --project-id 1775 --iid
Please register or sign in to comment