Edgewall Software
Modify

Opened 2 years ago

Last modified 15 months ago

#12449 new defect

Batch modify should block tickets when selecting unavailable action for the tickets

Reported by: Jun Omae Owned by:
Priority: normal Milestone: next-stable-1.2.x
Component: ticket system Version:
Severity: normal Keywords: batch-modify
Cc:
Release Notes:
API Changes:

Description (last modified by Jun Omae)

When [ticket-workflow] has the following actions and both reopened and closed tickets are shown in custom query, both resolve and reopen actions are available in batch modify form.

resolve = new,assigned,accepted,reopened -> closed
resolve.permissions = TICKET_MODIFY
resolve.operations = set_resolution
reopen = closed -> reopened
reopen.permissions = TICKET_CREATE
reopen.operations = del_resolution

Then, if a user checks reopened and closed tickets and submits with resolve action, the resolve action wouldn't be applied to the closed tickets. The behavior is right but just confuse the users.

I think we should block submitting batch modify form when selecting unavailable actions for the tickets.

Example: it seems that resolve action is available for #2 in query:id=2|12449 but #2 has been resolved.

Attachments (0)

Change History (2)

comment:1 Changed 19 months ago by Ryan J Ollos

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:2 Changed 15 months ago by Jun Omae

Description: modified (diff)

A user pointed out this issue on production environment. At least, I want to show warnings after submitting batch-modify form.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.