redshells is interactive shell and shortcut tools for Redmine.
This tool is mainly for executing batch request to Redmine. For example:
- create related tickets for the specified ticket at once
- set version for multiple tickets
and so on.
Generic query support is annoying, so issue filtering strategy is implemented as only two ways:
- specify all issue_ids
- specify query_id, which of created custom query on redmine
- When to use query_id for condition, you have to make the custom query for all projects.
That's it.
Install these libraries with pip or easy_install
- argparse
- python-redmine
- ipython
Set environment veriables below:
- REDMINE_URL
- Your redmine base url (e.g. http://redmine.com/)
- REDMINE_API_TOKEN
- Get it on redmine's user setting page. example: http://redmine.com/my/account)
redshell projects
redshell add_related_tickets --target_issue_id [issue_id] --query_id [query_id]
redshell add_related_tickets --target_issue_id [issue_id] --issue_ids [issue_id_1] [issue_id_2] ...