#5443 closed defect (worksforme)
set_owner_to_previous doesn't work
Reported by: | Jonathan Turkanis | Owned by: | Eli Carter |
---|---|---|---|
Priority: | high | Component: | AdvancedTicketWorkflowPlugin |
Severity: | normal | Keywords: | |
Cc: | sabaawy@… | Trac Release: | 0.11 |
Description
When I perform an action that should set the ticket owner to the previous owner, the owner is not updated. Here are the two workflow actions involved:
# Feedback requestinfo = assigned,accepted,reopened -> infoneeded requestinfo.name = request feedback requestinfo.operations = set_owner requestinfo.permissions = TICKET_MODIFY provideinfo = infoneeded -> assigned provideinfo.name = provide feedback provideinfo.operations = set_owner_to_previous provideinfo.permissions = TICKET_MODIFY
Attachments (0)
Change History (9)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | set_onwer_to_previous doesn't work → set_owner_to_previous doesn't work |
comment:2 Changed 9 years ago by
Cc: | sabaawy@… added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I know this is a 6-year old ticket but I am having the same issue now. set_owner_to_previous
doesn't work - any help is appreciated.
Thanks,
comment:3 Changed 9 years ago by
You need to provide some information about your install if you'd like help. Which Trac version? Which plugin version? What is in your [ticket-workflow]
section?
comment:4 Changed 9 years ago by
I also tried set_owner_to_component_owner
and it didn't work either. I tried set_owner_to_reporter
and it worked just fine.
I am using
- trac 1.0.9
- AdvancedTicketWorkflowPlugin-1.2.0.dev0-py2.7
and my ticket workflow section is:
[ticket-workflow] accept = new -> assigned accept.name = accept this ticket accept.operations = set_owner_to_self accept.permissions = TICKET_CREATE assign = assigned,new -> assigned assign.name = assign ticket assign.operations = set_owner assign.permissions = ASSIGN_TICKETS close = assigned,new,review -> closed close.operations = set_resolution close.permissions = CLOSE_TICKETS leave = * -> * leave.default = 1 leave.operations = leave_status reject = review -> assigned reject.name = needs more work reject.operations = set_owner_to_component_owner reject.permissions = TICKET_CREATE reopen = closed -> assigned reopen.name = re-open ticket reopen.operations = set_owner reopen.permissions = REOPEN_TICKETS sendtoreview = assigned -> review sendtoreview.name = submit for review sendtoreview.operations = set_owner sendtoreview.permissions = TICKET_CREATE
comment:5 Changed 9 years ago by
Please also post your [extra-permission]
section (TracIni#extra-permissions-section) in a codeblock, like I did editing your comment above. Example:
{{{#!ini [content goes here] }}}
comment:6 Changed 9 years ago by
[extra-permissions] _assign_tickets = ASSIGN_TICKETS _close_tickets = CLOSE_TICKETS _reopen_tickets = REOPEN_TICKETS
comment:7 Changed 9 years ago by
set_owner_to_previous
and set_owner_to_component_owner
work fine for me on a new installation with:
[ticket] workflow = TicketWorkflowOpOwnerPrevious, TicketWorkflowOpOwnerComponent, ConfigurableTicketWorkflow
What do you have in [ticket] workflow
?
comment:8 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
If you have additional issues, please ask on the trac:MailingList.
I realized I had a typo in my
[ticket]
section. Sorry for the noise.