Opened 10 years ago
Closed 10 years ago
#12067 closed defect (duplicate)
TracBatchModify does not permit changes to resolution nor permit avoiding sending emails
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.0.4 |
Severity: | normal | Keywords: | batch |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
The old BatchModifyPlugin BatchModifyPlugin plugin (prior to 1.0) had a couple of nifty features:
- You could indicate whether you wanted email notifications to be sent at all as a result of the change.
- You could make a change to the 'resolution' field even when the items were already 'closed'.
Currently, it appears as if the TracBatchModify component explicitly prohibits the modification of the resolution field. It also seems to only offer the setting of an explicit resolution if the current resolution is NOT set to 'closed'.
In addition, there is no way to tell the system to skip sending an email.
I would like to be able to batch modify the resolution at any time.
Two use cases:
- Our workflow here is to set the resolution to 'fixed' when the developer is done, 'closed' when it has been merged and tested, and then migrate to 'shipped' when it has been included in a release. Right now this is impossible via batch so we need to hand-convert each closed and shipped item. That's a LOT of clicking.
- We often want to quietly shift a bunch of items from one milestone to another. Since there is no way to disable notification emails, right now this will tell each reported and CC that their item has been deferred.
I am happy to provide a patch for both of these if people think it would be useful.
Attachments (0)
Change History (4)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
That's awesome! I am still interested in having a flag that can disable the sending of notification emails on a change, but that is not nearly as critical.
comment:4 by , 10 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
It might be worthwhile to add the workflow action from comment:2 to the default workflow.
Disabling notifications has also been requested in #8607, and th:QuietPlugin implements the behavior for th:AnnouncerPlugin. You are correct that the behavior was implemented for BatchModifyPlugin: th:browser:/batchmodifyplugin/0.12/trunk/batchmod/templates/batchmod.html@8826:40-41#L38.
I've previously request the behavior in #11535, which was closed as a duplicate of #8607. We'd welcome contributions if you'd like to work on #8607. Ideally this would be implemented on the trunk, where AnnouncerPlugin is being integrated.
Replying to shane@…:
The resolution field is managed through the TracTicketWorkflow. You can modify the resolution by adding a workflow action: