简介:通过python-redmine模块链接到本地的redmine系统,通过到bug号搜索到相应的bug,查看并更新信息。
1.redmine api
http://www.redmine.org/projects/redmine/wiki/Rest_api
2.Using the REST API with Python
http://www.redmine.org/projects/redmine/wiki/Rest_api_with_python
我使用的是PythonRedmine这个模块
源代码:https://github.com/maxtepkeev/python-redmine
使用手册:http://python-redmine.readthedocs.io/index.html
主要使用的是Resource->Issue 里的内容:
修改redmine
issue = redmine.issue.get(redmineID)获取到的issue
通过dir(issue)可以获得
[u'assigned_to', 'attachments', u'author', 'changesets', 'children', u'created_on', u'custom_fields', u'description', u'done_ratio'