Earlier this week I was asked by someone at work if there was a way to have Redmine email them when a file was uploaded to the Files section of a specific Redmine project. At first I wasn’t sure if it was possible but after digging around the Redmine interface I was able to find an easy solution. Follow the directions below to have Redmine send a email notification every time a file is uploaded to a specific project.
I had a Redmine ticket I had been working on with our customer support team at work. After working through the initial ticket that was loosely related to a customer initially ended up being a larger issue and I decided to move the ticket to an engineering project as that is where I actively work tickets typically. When I attempted to move the ticket I received an error stating that it had failed to save. Below I describe what the issue ended up being and how I temporarily modified a setting so I could move the ticket.
ActionView::TemplateError (comparison of Fixnum with nil failed) on line #38 of app/views/layouts/base.rhtml
The below error is another error related to upgrading Redmine. I imagine part of the reason I had a lot of errors is because I hadn’t upgraded this installation of Redmine, which we really just use for development, for a long time. In fact the upgrade took this installation of Redmine from 0.8.3 to Redmine 0.9.3. After I completed all of the steps in the Redmine upgrade I attempted to bring up the Redmine site in my Chrome browser but I received a 500 error from the LiteSpeed web server. The resolution was easy and is displayed below along with more details regarding the error.
Adding Redmine Project Error: ActiveRecord::StatementInvalid (Mysql::Error: Unknown column projects_count in field list
I was working on a project today for a client and after the initial research I realized that the project actually warranted an entire sub project account in Redmine. The reasoning behind this was even though the project would be using the same Ruby project code as the primary project this specific side project would need to allow access to the tickets for one of our partners. The easiest way to allow the partners accounts access to only a specific set of tickets, their own wiki, etc. would be to generate a sub Redmine project underneath of the primary Redmine project. So obviously the first thing to do was to add the project so I could start configuring it and this is where I ran into the initial issue. I received an internal server error when attempting to add the sub project within Redmine. Below I describe the issue, what I think caused the issue, and the end resolution that allowed me to start adding sub projects within Redmine again.
Redmine project management software is developed in Ruby and is one of my favorite project management software packages. The Redmine project is actively developed so there are always improvements and additions being released. Redmine uses Textile formatting for tickets, wiki pages, news articles, and pretty much anywhere large areas of text are added. Textile is a great way to format text and while it may take some getting used to it once you do it is very easy to format tickets/issues and other areas that are updated frequently.