Edgewall Software
Modify

Opened 17 years ago

Closed 15 years ago

#5908 closed enhancement (wontfix)

action "accept" in a ticket visited by owner

Reported by: decipher@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords: workflow
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

the action "accept" appear when a ticket is visited by owner. If it is selected it does nothing

Attach patch for not option display

Attachments (1)

default_workflow.py.path (774 bytes ) - added by decipher@… 17 years ago.

Download all attachments as: .zip

Change History (8)

by decipher@…, 17 years ago

Attachment: default_workflow.py.path added

comment:1 by Christian Boos, 17 years ago

Keywords: needinfo added

If it is selected it does nothing

I think this is rather the problem, not the fact that the "accept" action gets listed.

What is the status of the ticket which exhibits the issue and which workflow are you using?

in reply to:  1 ; comment:2 by anonymous, 17 years ago

Replying to cboos:

I think this is rather the problem, not the fact that the "accept" action gets listed.

What is the status of the ticket which exhibits the issue and which workflow are you using?

  • The status of the ticket is accepted
  • I'm using the workflow
    [ticket]
    default_component =
    default_milestone =
    default_priority = major
    default_type = defect
    default_version =
    max_description_size = 262144
    restrict_owner = false
    workflow = ConfigurableTicketWorkflow
    
    [ticket-workflow]
    accept = new,assigned,accepted,reopened -> accepted
    accept.operations = set_owner_to_self
    accept.permissions = TICKET_MODIFY
    leave = * -> *
    leave.default = 1
    leave.operations = leave_status
    reassign = new,assigned,accepted,reopened -> assigned
    reassign.operations = set_owner
    reassign.permissions = TICKET_MODIFY
    reopen = closed -> reopened
    reopen.operations = del_resolution
    reopen.permissions = TICKET_CREATE
    resolve = new,assigned,accepted,reopened -> closed
    resolve.operations = set_resolution
    resolve.permissions = TICKET_MODIFY
    

in reply to:  2 comment:3 by Christian Boos, 17 years ago

Keywords: workflow added; needinfo removed
Milestone: 0.11.1

Replying to anonymous:

Replying to cboos:

I think this is rather the problem, not the fact that the "accept" action gets listed.

What is the status of the ticket which exhibits the issue and which workflow are you using?

  • The status of the ticket is accepted
  • I'm using the workflow
...
accept = new,assigned,accepted,reopened -> accepted

Ok, I see. I suppose you have the above spec because you'd like to have the ability to shortcut the following sequence: ... --[assign to yourself]--> assigned --[accept]--> accepted

See also #2045.

comment:4 by Eli Carter, 16 years ago

The patch suggested hardcodes behavior for the 'assigned' state; we can't use that approach.

To make this work properly, the workflow system would have to recognize that an action would result in no changes to the ticket, and have no side-effects.

comment:5 by jlove, 15 years ago

This can be fixed by using the plugin VirtualTicketPermissionsPlugin with the modification from jlove to add the permission TICKET_IS_NOTOWNER.

For example:

accept.permissions = TICKET_IS_NOTOWNER

in reply to:  4 comment:6 by Christian Boos, 15 years ago

Milestone: 0.11-retriage

Replying to ecarter:

To make this work properly, the workflow system would have to recognize that an action would result in no changes to the ticket, and have no side-effects.

I guess that's not easily doable for the side-effects part. Suggesting a wontfix - as there are workarounds.

comment:7 by Christian Boos, 15 years ago

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


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