Project

General

Profile

How to make relations to (issues) table

Added by Christian Opitz almost 13 years ago

Hi,

at first - as this is my very first post here - I'ld like to thank the redmine authors and contributors a lot for theyr good work. Redmine got an indispensable collaboration tool for our agency :)

I recently forked the easy_agile-plugin to develop some features we require. One of those is to assign issues to user stories which I shortly resolved with custom field types. With this approach it's necessary to create a custom field of type 'user_story' and to add it to the projects where you want to use it. A problem with that is that although I added the custom field type in the init.rb and it shows up in the form it seems not to be added to the available field list on validation (So that I just inserted them manually into DB for now).

My question now is if you think, the way through custom fields is practical or if it's better (and possible) to extend the issues model? I think the latter is the better solution but I don't know how much more effort it would be (With the custom field solution I already have a form element in issue-form, can show the story in issue and filter it - how could I do this with the model-approach?)

Thanks a lot in advance,
Christian