Modify

Opened 5 years ago

Closed 5 years ago

#6416 closed enhancement (fixed)

Resolution can not change owner

Reported by: zhijie Owned by: retracile
Priority: high Component: AdvancedTicketWorkflowPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

For my workflow I select resolve as "fixed/invalid". Then the ticket status become closed. But I also want to change the ticket owner into reporter. Current plugin has no such function

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by retracile

  • Resolution set to worksforme
  • Status changed from new to closed

The set_owner_to_reporter operation does exactly that.

comment:2 Changed 5 years ago by zhijiex@…

  • Resolution worksforme deleted
  • Status changed from closed to reopened

My workflow trac.ini is as below:
resolve = new,assigned, reopened -> closed
resolve.operations = set_resolution
resolve.operations = set_owner_to_reporter
resolve.permissions = TICKET_MODIFY

Resolve drop-down menu will disappear. I can not choose which resolve types such as: fixed, invalid.... But the resolve owner will be changed reporter. I hope that the resolve types can be kept to allow select and the resolve owner is changed into reporter.


comment:3 Changed 5 years ago by retracile

Try:

resolve = new,assigned, reopened -> closed
resolve.operations = set_resolution,set_owner_to_reporter
resolve.permissions = TICKET_MODIFY

instead. Does that work for you?

comment:4 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

It works fine.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.