lsnl / redmine

GNU General Public License v3.0
0 stars 0 forks source link

redmine

Installation

clone project

git clone https://github.com/lsnl/redmine.git
cd redmine

install requre modules

pip install -r requirements.txt

set REDMINE_SERVER_URL and REDMINE_API_ACCESS_KEY to your environment variable

You can see your API access key in http://rm.lsnl.jp/my/account

export REDMINE_SERVER_URL="https://rm.lsnl.jp/"
export REDMINE_API_ACCESS_KEY="XXX"

Usage

projects

show projects list

redmine projects list

result example

seminar
math-bof
workshop

show

show project abstract

redmine show -p seminar

result example

Ticket Tracking
TBD    1
Done   0
Sum    1
Time Management:
Expected Man-hours    0:00
Working Hours         0:00
Member:
Alice, Bob, Carol, Dan

redmine show is equivalent redmine show -p root

issues

issues

redmine issues [list, view, create, update, delete]

You can see help by redmine issues.

list

redmine issues list [-o] $header

result example

# Project         Status Priority Subject                  Assignee
1 研究:テーマ考案 ToDo   通常     2020-06-05 12:40-13:30   Alice
2 研究:テーマ考案 ToDo   通常     2020-06-07 12:40-13:30   Alice

view

redmine issues view $resource_id

result example

#              : $resource_id
Subject        : $subject
Status         : $status
Priority       : $priority
Assignee       : $assignee
Start date     : $start_date
Due date       : $due_date
%Done          : $parsent_done
Estimated time : $estimated_time

Description:
$description

Subtasks:
    $subtask

Related issues : $related_issue

create

redmine issues create

update

redmine issues update

delete

redmine issues delete

ticket

redmine ticket

redmine ticket: aliased to redmine issues