Redmine で複数のチケット操作を手動でやってると結構たるいのでスクリプトでやる方法をメモ。 詳細は以下を参照。 本家のRest API解説 準備 Redmineの「管理」->「設定」->「認証」で「RESTによるWebサービスを有効にする」を有効にする。 Redmineの「個人設定」の「APIアクセスキー」をメモっとく。 チケット作成 #!/bin/bash DATA_FILE=tmp.json KEY=7997c5eee596b258c872e5a50f15011660203367 HOST=http://redmine.hogehoge.com cat <<EOT > $DATA_FILE {"issue": { "project_id": 1, "tracker_id": 4, "status_id": 1, "subject": "タイトル", "description":
Status legend: Stable - feature complete, no major changes planned Beta - usable for integrations with some bugs or missing minor functionality Alpha - major functionality in place, needs feedback from API users and integrators Prototype - very rough implementation, possible major breaking changes mid-version. Not recommended for integration Planned - planned in a future version, depending on deve
Using the REST API with cURL¶ curl is a command-line tool for transferring data using various protocols. It can be used to interact with the Redmine REST API. Using JSON¶ Here is a simple example of a command that can be used to update an issue: curl -v -H "Content-Type: application/json" -X PUT --data-binary "@388.json" -u login:password http://redmine/issues/388.json curl -v -H "Content-Type: ap
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く