Edgewall Software
Modify

Opened 8 years ago

Last modified 7 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.6.x
Component: ticket system Version:
Severity: normal Keywords: batch-modify
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (4)

comment:1 by Ryan J Ollos, 7 years ago

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 by Jun Omae, 7 years ago

Description: modified (diff)

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

comment:3 by Ryan J Ollos, 4 years ago

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

comment:4 by Ryan J Ollos, 7 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

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. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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