https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292014-01-25T13:18:07ZRedmineRedmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=544992014-01-25T13:18:07ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=818102017-10-29T04:21:40ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/26680">Feature #26680</a>: Show default assignee when creating new issue</i> added</li></ul> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=818402017-10-31T06:09:59ZMizuki ISHIKAWA
<ul><li><strong>File</strong> <a href="/attachments/19421">0001-Set-default_assigned_to_id-in-category.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19421/0001-Set-default_assigned_to_id-in-category.patch">0001-Set-default_assigned_to_id-in-category.patch</a> added</li><li><strong>File</strong> <a href="/attachments/19422">0002-Set-default_assigned_to_id-in-project.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19422/0002-Set-default_assigned_to_id-in-project.patch">0002-Set-default_assigned_to_id-in-project.patch</a> added</li></ul><p>I wrote a patch to implement this feature.</p>
<p>Please try to apply this patch: <a class="attachment" href="https://www.redmine.org/attachments/19421">0001-Set-default_assigned_to_id-in-category.patch</a></p>
<p>In addition, applying this patch will allow you to set default project assignee in the same way:<br /><a class="attachment" href="https://www.redmine.org/attachments/19422">0002-Set-default_assigned_to_id-in-project.patch</a></p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=823592017-11-29T14:52:58ZToshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>4.1.0</i></li></ul> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=847572018-04-30T06:13:08ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li><li><strong>Target version</strong> changed from <i>4.1.0</i> to <i>4.0.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed the patch 0001-Set-default_assigned_to_id-in-category.patch. Thank you for improving Redmine.</p>
<p>I will commit the second patch 0002-Set-default_assigned_to_id-in-project.patch for <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Show default assignee when creating new issue (New)" href="https://www.redmine.org/issues/26680">#26680</a>.</p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=847672018-04-30T09:50:34ZMarius BĂLTEANU
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>This is a nice feature, indeed, but I think that the current implementation has some issues that we should address/clarify:</p>
<p>1. The default category assignee is not cleared when the category is changed with a category without assignee<br />- Go to new issue page<br />- Select a category with assignee <br />- Observe that the assignee is set correctly <br />- Change the category with a category without assignee<br />- Observe that assignee remains the previous one</p>
<p>The expected result from my point of view is to clear the assignee.</p>
<p>2. Manually selected assignee is override by the category assignee. <br />- Go to new issue page<br />- Manually select an assignee<br />- Select a category with assignee<br />- Observe that the manually selected assignee is replaced by the category assignee</p>
<p>The expected result here (and also the current behaviour until this ticket) is to keep the manually selected assignee.</p>
<p>3. Because there are a lot of scenarios and the code become quite complex, we should cover the cases with system tests.</p>
<p>I can help on fixing this issues and adding some tests, just please let me know.</p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=855882018-06-16T14:53:22ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>I made a small change that improves the behaviour when changing/removing the category and solves the 2 issues reported by Marius.</p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=855922018-06-17T05:24:27ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/28951">Defect #28951</a>: Cannot clear category field on copying an Issue</i> added</li></ul> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=857442018-06-22T11:17:55ZMarius BĂLTEANU
<ul><li><strong>File</strong> <a href="/attachments/20937">duplicated_assignee.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/20937/duplicated_assignee.png">duplicated_assignee.png</a> added</li><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li><li><strong>Assignee</strong> changed from <i>Go MAEDA</i> to <i>Jean-Philippe Lang</i></li><li><strong>Resolution</strong> deleted (<del><i>Fixed</i></del>)</li></ul><p>I found another issue:</p>
<p>1. Go to a project with a default category assignee<br />2. Go to new issue page<br />3. Select the category with the default assignee<br />4. Open the Assignee dropdown<br />5. Observe that the default category assignee is duplicated in the dropdown. <br /><img src="https://www.redmine.org/attachments/download/20937/duplicated_assignee.png" style="width: 50%;border: 1px solid grey;" alt="" /></p>
<p>The issue is generated by the line <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/views/issues/new.js.erb#L6">source:trunk/app/views/issues/new.js.erb#L6</a></p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=873032018-09-15T07:25:36ZMarius BĂLTEANU
<ul></ul><p>We can deliver this feature as it is and I will try to find a proper implementation for the next minor version of Redmine 4.</p> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=873242018-09-15T09:13:38ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul> Redmine - Feature #15919: Set default category assignee immediately upon category selectionhttps://www.redmine.org/issues/15919?journal_id=876912018-09-30T09:40:09ZMarius BĂLTEANU
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/29695">Defect #29695</a>: Duplicated assignee option when selecting a category with default assignee</i> added</li></ul>