https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-07-07T09:18:46ZRedmineRedmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=305582011-07-07T09:18:46ZEtienne Massip
<ul><li><strong>Category</strong> changed from <i>Issues</i> to <i>Plugin API</i></li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=619122015-03-05T14:23:30ZAn Phan
<ul></ul><p>+1. Some of the webhook plugins out there is not complete because of this hook missing, for example <a href="https://github.com/suer/redmine_webhook" class="external">Redmine Webhook</a>.<br />I've no idea why this takes so long to be merged. There was even a patch 4 years ago: <a class="issue tracker-3 status-5 priority-3 priority-lowest closed" title="Patch: Request for controller_issues_bulk_edit_after_save hook (Closed)" href="https://www.redmine.org/issues/5714">#5714</a>. I mean, how hard can it be to add this one liner into <code>issues_controller.rb</code>?</p>
<p><code>call_hook(:controller_issues_bulk_edit_after_save, { :params => params, :issue => issue, :journal => journal })</code></p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=633392015-04-25T01:50:31ZHiroshi Miura
<ul></ul><p>+1. To improve user productivity with webhook or other plugins, and chat platforms such as hipchat, slack, kandan and hubot.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=705032016-04-22T20:51:54ZAdam Pfeiffer
<ul></ul><p>I absolutely need this as well. It does seem to be a simple change that should have been there from the beginning. I will modify my code locally to make sure this works with my plugin.</p>
<p>THanks</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=721292016-07-11T18:33:01ZJoel SCHAAL
<ul></ul><p>+1</p>
<p>I would like to see that change in the next version.</p>
<p>Is this change too risky or too dirty ?<br />Does it need to be adapted before acceptance ?</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=730472016-08-28T22:29:52ZNaoki Yoshida
<ul></ul><p>+1</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=730602016-08-29T04:25:37ZToshi MARUYAMA
<ul><li><strong>Category</strong> changed from <i>Plugin API</i> to <i>Hook requests</i></li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=774632017-03-23T12:55:33ZTobias Böhm
<ul><li><strong>File</strong> <a href="/attachments/17978">issues_controller_bulk_update_after_save_hook.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/17978/issues_controller_bulk_update_after_save_hook.patch">issues_controller_bulk_update_after_save_hook.patch</a> added</li></ul><p>I just created a patch for this issue that applies to the current master code base. Please find it attached.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=781352017-04-21T07:43:22ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/25454">Feature #25454</a>: Add bulk edit after save hook</i> added</li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=781932017-04-25T07:51:08ZSerghei Zagorinyak
<ul></ul><p>This patch is wrong.</p>
<p>Implemented this way, if an exception is raised within <code>bulk_edit_after_save</code> it will prevent succeeding issues from being saved while they should be processed and only the problematic issue should be rejected.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=782002017-04-25T19:18:04ZTobias Böhm
<ul></ul><p>You are right, exceptions raising from the hook are not handled. But this applies also to the already existing hook <code>:controller_issues_bulk_edit_after_save</code>. If an exception is raised there, all following issues will not be processed.</p>
<p>This should be addressed for the whole process (before-hook, save, after-hook) or loop at once, I guess, in a separate issue and patch.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=782162017-04-26T08:20:10ZSerghei Zagorinyak
<ul></ul><p>Tobias Böhm wrote:</p>
<blockquote>
<p>You are right, exceptions raising from the hook are not handled. But this applies also to the already existing hook <code>:controller_issues_bulk_edit_after_save</code>. If an exception is raised there, all following issues will not be processed.</p>
<p>This should be addressed for the whole process (before-hook, save, after-hook) or loop at once, I guess, in a separate issue and patch.</p>
</blockquote>
<p>Yes, didn't notice that first. Hope this will be fixed someday.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=782352017-04-27T09:54:26ZToshi MARUYAMA
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/25454">Feature #25454</a>: Add bulk edit after save hook</i>)</li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=782382017-04-27T09:54:58ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/25454">Feature #25454</a>: Add bulk edit after save hook</i> added</li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=882282018-11-03T14:21:28ZJulián Maestri
<ul><li><strong>File</strong> <a href="/attachments/21754">controller_issues_bulk_edit_after_save.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/21754/controller_issues_bulk_edit_after_save.patch">controller_issues_bulk_edit_after_save.patch</a> added</li></ul><p>Patch based on redmine v3.4.6<br />To avoid the problems with stopping the bulk update if something fails on the hook, iterate over the saved issues after saving them.</p> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=882312018-11-03T14:29:45ZMarius BĂLTEANU
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/29897">Feature #29897</a>: hook: controller_issues_bulk_edit_after_save</i> added</li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=882382018-11-03T21:33:35ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-3 status-5 priority-3 priority-lowest closed" href="/issues/5714">Patch #5714</a>: Request for controller_issues_bulk_edit_after_save hook</i> added</li></ul> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=884612018-11-21T07:16:51ZJethro Yu
<ul></ul><p>+1</p>
<p>I am modifying a plugin that reads journal of bulk edit issues, too.<br /><a class="external" href="https://github.com/jcppkkk/redmine_hipchat/commit/45d740de41bcaa68f64d5def16a9367e6291ed8b#diff-a7f255c397e668f358fc183f6802c3f3R25">https://github.com/jcppkkk/redmine_hipchat/commit/45d740de41bcaa68f64d5def16a9367e6291ed8b#diff-a7f255c397e668f358fc183f6802c3f3R25</a><br />Julián Maestri wrote:</p>
<blockquote>
<p>Patch based on redmine v3.4.6<br />To avoid the problems with stopping the bulk update if something fails on the hook, iterate over the saved issues after saving them.</p>
</blockquote> Redmine - Patch #8757: Add hook for bulk edit post-save statehttps://www.redmine.org/issues/8757?journal_id=896452019-01-28T17:30:42ZJulián Maestri
<ul></ul><p>Any chance for this to be included in the roadmap? at least as Unplanned?</p>