https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-12-05T07:09:35ZRedmineRedmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=536022013-12-05T07:09:35ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>Custom fields</i></li></ul> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=538562013-12-16T17:18:21ZDipan Mehta
<ul></ul><p>+1. Very useful. One of the important usecase is to indicate a chain of cause-effect issues where the fix of ticket #xyz has caused the current bug. Most issue relations follow-preced / blocks etc. are used mainly to deal with planning; however there is no way to create custom relationships between issue. Hence, CF of the type "issue-reference" will make it very easy to create such relations easily.</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=541792014-01-08T18:22:49ZPierre Luce
<ul><li><strong>File</strong> <a href="/attachments/10959">ISSUE_TYPE_CUSTOM_FIELDS.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/10959/ISSUE_TYPE_CUSTOM_FIELDS.diff">ISSUE_TYPE_CUSTOM_FIELDS.diff</a> added</li></ul><p>Here is a basic implementation I made (from trunk development version)</p>
<p>Just use a classical Text custom field. If the content begins with '#' (like in "#42"), it will convert the number that follows in link to the corresponding issue. No idea of what happens if the number is not a number or if no issue corresponds.</p>
<p>If you list #values separated by a comma ( "#42,<a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: SVN Repository attributes aren't saved if modified after creation (Closed)" href="https://www.redmine.org/issues/24">#24</a>,<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Enable sessions in the database (Closed)" href="https://www.redmine.org/issues/422">#422</a>" ), it will display as a list of links.</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=541852014-01-09T05:44:37ZDipan Mehta
<ul></ul><p>Nice to see some progress on this.</p>
<p>However, even today this is possible by creating a text field (and using one of the plugins that converts text in link). Unfortunately, it will except all other type of text as well.</p>
I think a good way would be equivalent to what works in related issues or parent issue field.
<ol>
<li>The field should accept only integers, (avoiding any invalid text)</li>
<li>The field can use the same tool tip to show issue title as one enters the number (used by parent/related issue ) </li>
<li>The field can render issue along with subject line under <code>format_value</code></li>
</ol>
<p>If you want to gain more insight about how custom fields of arbitrary types can be developed look at the project:<br /><a class="external" href="http://projects.andriylesyuk.com/projects/extended-fields">http://projects.andriylesyuk.com/projects/extended-fields</a></p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=541882014-01-09T08:39:38ZIl Igid
<ul></ul><p>thanks for the nice little implementation for prototyping.<br />For a final solution I would rather make a new field type available for custom fields and make the use very similar / same to the current relation fields. However, the current relation field implementation does contain some specifics (e.g. relation types) which do not make them easily reusable for a more generic theme without a refactoring.</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=542002014-01-09T19:27:07ZPierre Luce
<ul></ul><p><a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Allow plugins to be able to add relationship types (New)" href="https://www.redmine.org/issues/13690">#13690</a> proposes a solution to allow new relationships to be added. However, I'm not fluent enough in Ruby to implement it (in fact, my patch is my very first lines of Ruby)</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=545612014-01-30T07:48:43ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/13690">Feature #13690</a>: Allow plugins to be able to add relationship types</i> added</li></ul> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=545632014-01-30T07:49:57ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/7849">Feature #7849</a>: custom issue relation types</i> added</li></ul> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=562182014-05-09T06:18:13ZQuanlong He
<ul></ul><p>+1. It's a very useful feature.</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=993342020-10-02T08:38:29ZStefan Lindner
<ul></ul><p>+1</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=995242020-10-23T06:23:45ZFabien Durand
<ul></ul><p>+1</p> Redmine - Feature #15340: Custom field referencing other ticketshttps://www.redmine.org/issues/15340?journal_id=1032942021-07-23T14:40:29Zshawn freeman
<ul></ul><p>Related to <a class="issue tracker-2 status-1 priority-5 priority-high2" title="Feature: Issue Custom Fields Parent-Child (New)" href="https://www.redmine.org/issues/4799">#4799</a>?</p>