In a recent Redmine installation I set up a customer support area where techs could log calls relating to customers. Redmine is not really set up for customer support however with the use if Custom Fields you can make it work depending on what your needs are. One thing that is cool about Redmine Custom Fields is the fact that you can use Regular Expressions to dictate the data input into those fields.
Below I describe adding a custom field to a project that requires a 10 digit number to be input.
Create the Custom Field:
First you will want to create the custom field that later you will attach to a project. Login to Redmine as an administrator and Click on the Administration link in the top navigation menu. Now on the administration page click on the “Custom fields” link to open the Custom fields admin page. Now on the Custom fields page click the “New custom field” link located in the bottom left hand portion of the page. This will open the New Custom Field entry page as shown below.
Now enter the name of the new field, leave Format as Text, change the max length to 14, enter the Regular Expression below, and add a default value to display the required format.
Regular Expression: ^[01]?[- .]?(\([2-9]\d{2}\)|[2-9]\d{2})[- .]?\d{3}[- .]?\d{4}$
Make sure to check the trackers you want the field to display for and any other properties below. Once you have filled out all of the fields to look similar to the below image click the Save button.
Now that the new Phone Number field is created you will need to assign the field to a Project. To do so open the correct Project, click the Settings tab, and mark the new field on the Information tab of Settings. Click save and verify the new field displays when you open a new Issue.