Forums » Development »
Adding a Core field to Redmine
Added by Shreyas Moolya over 6 years ago
I want to add a Core Field called as "Project Module" into Redmine.
I am using Redmine-3.4.3 with Rails 5.0.
I created a new module named "Project Module" by adding a new controller 'project_modules', a ,model 'project_module' and views also. The purpose behind creating this field is to define a client which in my case is a Project and create user defined ProjectModules in it. I have added references of 'Project Module' to Projects and Issues during model generation. But I am unable to add this field into the Core Fields of Redmine a.k.a Standard Fields for it to be displayed in Issue Index Filter.
Can anyone guide me in creation of this field into Redmine?
Project Module.png (24.8 KB) Project Module.png | Example of Project Module |
Replies (2)
RE: Adding a Core field to Redmine - Added by Martin Denizet (redmine.org team member) over 6 years ago
Hello,
I assume that by "module" you mean "plugin".
I suggest the easiest is to create a custom field and have your plugin to manage this custom field.
Cheers,
RE: Adding a Core field to Redmine - Added by Shreyas Moolya over 6 years ago
Martin Denizet (redmine.org team member) wrote:
Hello,
I assume that by "module" you mean "plugin".
I suggest the easiest is to create a custom field and have your plugin to manage this custom field.
Cheers,
I did not mean plugin. I have hardcoded a field called "Project Modules" into the tool by just copying the "Issue Category" files. Check the image i have attached to understand it better.
Since I had to define multiple Project Module Custom Field for different projects, I overruled the possibility of creating custom fields, instead I want the modules to be user specific which can be defined at project level for different projects.
Thanks