Opened 17 years ago
Last modified 9 years ago
#5856 new enhancement
Enterprise workflow enhancements for request info
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | general | Version: | devel |
Severity: | minor | Keywords: | workflow |
Cc: | gt4329b@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
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.
Suggestion:
- 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
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Owner: | changed from | to
---|
comment:3 by , 17 years ago
Cc: | added |
---|
+1 to removing "to" from the source and putting it in the workflow .ini — I ran into this exact thing today.
comment:4 by , 17 years ago
Keywords: | workflow added |
---|---|
Milestone: | → 0.12 |
Severity: | normal → minor |
comment:5 by , 17 years ago
Relevant to this ticket: wiki:AdvancedTicketWorkflowPlugin now provides set_owner_to_reporter
and set_owner_to_previous
operations.
comment:6 by , 9 years ago
Owner: | removed |
---|
I did some changes locally:
And then I did change the workflow entries in trac.ini: *.name = reassign → *.name = reassign to
Cheers / Erik