Posts

Showing posts with the label Rest API

Google Apps Script - Using Google Script to create issues in Redmine via REST API

Image
This is just another blog post about manipulating the Redmine's REST API. In the previous article , I showed you how to have fun with python-redmine, this time it comes Google Apps Script. You can use the following snippet to create issue in Redmine: Have more fun!

Using python-redmine to communicate with Redmine via Rest API

Image
I'm using Redmine , the opensourced Project Management system, as a support ticket system. The way it's working right now is: whenever someone needs help, she will send an email to helpme@mycompany.com. Then there is a ruby task (rake) runs every minute to pull emails from that address (via  IMAP ) and create a ticket (issue) in the helpdesk project in my Redmine server. But the thing is the Redmine's rake task can not create issue with category (Department A, Department B,...) based on the issue's content.  We can only specify the fixed category beforehand in the rake command: rake redmine:email:receive_imap RAILS_ENV="production" \\ host=imap.foo.bar username=redmine@somenet.foo password=xxx ssl=1 \\ project=foo \\ tracker=bug \\ allow_override=tracker,priority \\ category='Department A' So, I looked around and found that Redmine has REST API . It's even greater with python-redmine, a python library to help me ...