Skip to content

katsube/redmine-api-issue-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine RESTful API Sample for PHP

RedmineのRESTful APIを利用しチケット(Issue)を操作する自分用のサンプル集。 https://www.redmine.org/projects/redmine/wiki/Rest_Issues

Quick Start

Setup

config.phpを開きRedmineが稼働しているURLと、APIを実行するユーザーのトークンをセット。

<?php
// Redmineが稼働しているURL
define('END_POINT', 'https://redmine.example.com');

// APIを実行するユーザーのトークン
define('TOKEN', 'Gm76hdw6smBgMrmsrvnhvSpqv7oRzQRnles8ygrm');

Do

各サンプルファイルをCLIで直接実行する。

$ php issue_create.php

Sample List

file description
issue_create.php チケットの新規作成

Memo

project_idの調べ方
https://redmine.example.com/projects.json?key=xxxxxxxxxxxxxxxxxxxx

About

RedmineのIssueをPHPから操作する自分用サンプル集

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages