Skip to content

Instantly share code, notes, and snippets.

@johannjacobsohn
johannjacobsohn / git-fix
Created June 11, 2019 12:18
Sync redmine issues to gitlab merge requests and submit both in one go
#!/bin/bash
set -eu -o pipefail -o errexit -o noclobber -o nounset
IFS=$'\n\t' # http://redsymbol.net/articles/unofficial-bash-strict-mode/
# set -x # DEBUG
#
# todo
# --time
# http://www.redmine.org/projects/redmine/wiki/Rest_TimeEntries#Creating-a-time-entry
# POST /time_entries.json