Edgewall Software

Ticket #5908 (new enhancement)

Opened 17 months ago

Last modified 10 months ago

action "accept" in a ticket visited by owner

Reported by: decipher@… Owned by: jonas
Priority: normal Milestone: 0.11-retriage
Component: ticket system Version: devel
Severity: normal Keywords: workflow
Cc:

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

default_workflow.py.path (0.8 KB) - added by decipher@… 17 months ago.

Change History

Changed 17 months ago by decipher@…

follow-up: ↓ 2   Changed 17 months ago by cboos

  • 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 ; follow-up: ↓ 3   Changed 17 months ago by 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

[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   Changed 16 months ago by cboos

  • keywords workflow added; needinfo removed
  • milestone set to 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.

  Changed 10 months ago by ecarter

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.

Add/Change #5908 (action "accept" in a ticket visited by owner)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from jonas. Next status will be 'new'
The owner will change from jonas to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.