Enterprise workflow enhancements for request info
|Reported by:||Owned by:|
I'm trying to use the enterprise workflow and I stumbled upon some obstacles.
For example: A new ticket is created and assigned to a user. The user finds he needs more information so he presses request info. The ticket gets state infoneeded_new and the only actions available is provide_info and leave.
- Make it possible to assign a user when requesting more information. If in the infoneeded_new state I would like it to be automatically assigned to the reporter
- It should alse be able to reassign a ticket in infoneeded_new state.
- Can be fixed by adding the following to the workflow:
reassign_infoneeded_new = infoneeded_new -> infoneeded_new reassign_infoneeded_new.name = reassign reassign_infoneeded_new.operations = set_owner reassign_infoneeded_new.permissions = TICKET_MODIFY
- Looked easy but I found something unwanted in default_workflow.py. Apparently set_owner adds a "to" between the name and the assignee.
If I modify requestinfo_new to:
requestinfo_new = new -> infoneeded_new requestinfo_new.name = request info from requestinfo_new.operations = set_owner requestinfo_new.permissions = TICKET_MODIFY
Then the output will be: request info from to
Isn't it better to remove the "to" from default_workflow.py and let the user configure the whole string in trac.ini instead?
Cheers / Erik