https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-12-21T02:32:40ZRedmineRedmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=349392011-12-21T02:32:40ZMischa The Evil
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/34939/diff?detail_id=25521">diff</a>)</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=350032011-12-22T22:22:24ZMischa The Evil
<ul><li><strong>Subject</strong> changed from <i>Differenciate available shared versions in version-format custom field drop-downs by prepending its project name</i> to <i>Differentiate available shared versions in version-format custom field drop-downs by prepending its project name</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/35003/diff?detail_id=25569">diff</a>)</li></ul><p>Fixing ugly typos.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=381892012-05-15T16:51:07ZMaher Gamal
<ul></ul><p>Can we have this in an upcoming minor version ?</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=382422012-05-16T13:26:10ZMaher Gamal
<ul></ul><p>The duplicate <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Version custom field should display the project name in the combo box (Closed)" href="https://www.redmine.org/issues/10926">#10926</a> was marked as <strong>Candidate for the next minor version</strong>, can we mark this one as well to have it scheduled.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=382442012-05-16T13:26:43ZEtienne Massip
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=447712013-01-21T09:14:03Zclaude g
<ul></ul><p>+1</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=450202013-01-27T04:33:31ZMischa The Evil
<ul></ul><p>Simple patch could work. In <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/11275/entry/trunk/app/models/custom_field.rb#L99">source:/trunk/app/models/custom_field.rb@11275#L99</a> change:<br /><pre><code class="diff syntaxhl"><span class="gd">- obj.project.shared_versions.sort.collect {|u| [u.to_s, u.id.to_s]}
</span><span class="gi">+ obj.project.shared_versions.sort.collect {|u| ["#{u.project.to_s} - #{u.to_s}", u.id.to_s]}
</span></code></pre></p>
<p>to prepend "<code>{project name} - </code>" before the "<code>{version name}</code>".<br />This makes it possible to differentiate shared versions in version format custom field drop-downs.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=450482013-01-27T16:30:17ZMischa The Evil
<ul></ul><p>Note: the patch in note-7 does not prepend project names to custom field values in the custom field column on the issue list. This is the same behavior as currently implemented for the target version column. It might be better to change this also for (at least, shared) versions to distinct versions from other projects from current project versions.<br />Such should follow a fix for this issue first, so it will be better to open a new issue for that. Also <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Equalize the way how available shared versions are differentiated in target version drop-downs (New)" href="https://www.redmine.org/issues/9851">#9851</a> needs to be taken into account since it is related in sense of how target-versions are displayed throughout the Redmine UI (now thinking of <code>version#x</code> links, roadmap, version views etc. also).</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=457642013-02-15T23:23:39ZMischa The Evil
<ul></ul><p>Mischa The Evil wrote:</p>
<blockquote>
<p>Note: the patch in note-7 does not prepend project names to custom field values in the custom field column on the issue list. This is the same behavior as currently implemented for the target version column. It might be better to change this also for (at least, shared) versions to distinct versions from other projects from current project versions.<br />[...] Also <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Equalize the way how available shared versions are differentiated in target version drop-downs (New)" href="https://www.redmine.org/issues/9851">#9851</a> needs to be taken into account since it is related in sense of how target-versions are displayed throughout the Redmine UI (now thinking of <code>version#x</code> links, roadmap, version views etc. also).</p>
</blockquote>
<p>Follow-up on <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Differentiate shared versions in version-format custom field drop-downs by prepending its project... (Closed)" href="https://www.redmine.org/issues/9850#note-8">#9850-8</a> [note-8], extracted from (duplicate) issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Version custom field should display the project name in the combo box (Closed)" href="https://www.redmine.org/issues/10926#note-5">#10926-5</a> [note-5]:</p>
<blockquote>
Actually, the project name <strong>is</strong> already prepended to shared versions displayed on the Roadmap view with or without using the <code>Subprojects</code> selection in the right side-bar. This also applies to both the project- and global Gantt views but specifically not for:
<ul>
<li>the project Calendar view (since shared versions aren't displayed there anyways);</li>
<li>the Version view (since versions are always tied to a single project anyway);</li>
<li>the project- and global Issue list view columns and finally, I think,</li>
<li>the Redmine version links.</li>
</ul>
</blockquote>
<p>Despite all the above: this issue is specifically about version-format custom field values and not the target versions.</p>
<p>Tested on Redmine 2.1.x / *.m.redmine.org.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=505142013-07-12T22:32:39ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/14449">Feature #14449</a>: Versions custom field format </i> added</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=505162013-07-12T22:32:45ZMischa The Evil
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/14449">Feature #14449</a>: Versions custom field format </i>)</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=505182013-07-12T22:32:55ZMischa The Evil
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/14449">Feature #14449</a>: Versions custom field format </i> added</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=558632014-04-12T13:29:08ZMaicon Zucco
<ul></ul><p>Hi,</p>
<p>How I change this in 2.5.1 version?</p>
<p>Thanks.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=652992015-08-06T07:53:32ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/19965">Feature #19965</a>: values of custom fileds of version type should be prefixed with or grouped by project name</i> added</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=656302015-08-24T08:39:31ZAlexis Parent
<ul></ul><p>+1</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=687772016-01-20T13:15:21ZChristophe Portier
<ul></ul><p>+1</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=690852016-02-05T14:12:36ZMaicon Zucco
<ul></ul><p>I found a way to change on 2.5.3:<br /><pre><code class="diff syntaxhl"><span class="gd">--- from_file
</span><span class="gi">+++ lib/redmine/field_format.rb
</span><span class="p">@@ -690,7 +690,8 @@</span>
scope = scope.where(:status => statuses.map(&:to_s))
end
end
<span class="gd">- scope.sort.collect {|u| [u.to_s, u.id.to_s]}
</span><span class="gi">+ scope.sort_by! {|u| ["#{u.project.to_s} - #{u.to_s}", u.id.to_s]}
+ scope.collect {|u| ["#{u.project.to_s} - #{u.to_s}", u.id.to_s]}
</span> else
[]
end
</code></pre></p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=760642017-01-18T02:03:08ZMischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/23265">Feature #23265</a>: Group versions by status in version custom field filter</i> added</li></ul> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=760662017-01-18T02:03:19ZMischa The Evil
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> deleted (<del><i>Candidate for next minor release</i></del>)</li></ul><p>The initial issue (indistinguishable shared versions in version-format custom field drop-downs) has been fixed by <a class="changeset" title="Group versions by status in version custom field filter (#23265)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16194">r16194</a> for <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Group versions by status in version custom field filter (Closed)" href="https://www.redmine.org/issues/23265">#23265</a>.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=780372017-04-16T07:49:18ZMischa The Evil
<ul><li><strong>Subject</strong> changed from <i>Differentiate available shared versions in version-format custom field drop-downs by prepending its project name</i> to <i>Differentiate shared versions in version-format custom field drop-downs by prepending its project name</i></li><li><strong>Target version</strong> set to <i>3.4.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Setting target version to 3.4.0 because I think that this fixed issue should appear on the changelog, in order to let everyone know about this long-awaited improvement.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=828702018-01-03T06:32:55ZEdgars Batna
<ul></ul><p>I'm on 3.4.3.stable and I don't see where this is fixed. If I add a Multiselection Dropdown Version Version Custom Field, then the list shows all sorts of Versions without Project names.</p>
<p>Could it be that it was only fixed for Filters and Roadmap? If that's the case, then all these Tickets might have been closed in haste.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=828712018-01-03T06:49:56ZEdgars Batna
<ul></ul><p>P.S. <br />I'm talking about custom version fields when creating new tickets or versions.</p> Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project namehttps://www.redmine.org/issues/9850?journal_id=833212018-01-25T14:19:33ZToshi MARUYAMA
<ul></ul><p>Edgars Batna wrote:</p>
<blockquote>
<p>P.S. <br />I'm talking about custom version fields when creating new tickets or versions.</p>
</blockquote>
<p>Indeed.<br />I think it is covered in <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Equalize the way how available shared versions are differentiated in target version drop-downs (New)" href="https://www.redmine.org/issues/9851">#9851</a> and <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Custom Field - Version - Combo list to be grouped by projects.. (New)" href="https://www.redmine.org/issues/15902">#15902</a>.</p>