Modify ↓
Opened 14 years ago
Closed 11 years ago
#9133 closed defect (fixed)
Can't filter the tickets by custom status
| Reported by: | anonymous | Owned by: | Cinc-th |
|---|---|---|---|
| Priority: | normal | Component: | MultipleWorkflowPlugin |
| Severity: | normal | Keywords: | |
| Cc: | georgy.steshin@… | Trac Release: | 0.12 |
Description
Custom statuses wouldn't be shown in the Status filter in Custom Query window. It shows only the statuses that appears in [ticket-workflow] section and not in [ticket-workflow-my_type]
Attachments (0)
Change History (6)
comment:1 Changed 14 years ago by
| Cc: | georgy.steshin@… added; anonymous removed |
|---|
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
| Owner: | changed from Ermal Memushaj to Cinc-th |
|---|---|
| Status: | new → accepted |
comment:4 Changed 11 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | accepted → closed |
I added a how-to to the wiki page essentially duplicating what I posted in comment:2.
comment:5 Changed 11 years ago by
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Looking at the source this problem may be fixed with some code.
comment:6 Changed 11 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Fixed with [14565]:
When Trac queries all statuses (get_all_status()) gather status information from all defined workflows in addition to the default workflow.
Note: See
TracTickets for help on using
tickets.



Trac core only looks at the default workflow when gathering the statuses (for obvious reasons since it doesn't know about your private workflow).
To have your custom status appear which is defined in
[ticket-workflow-my_type]add it to the default section[ticket-workflow]like this:Because there is no transition to the statuses
approvedandremovedin the default workflow these items will never show up as a selectable item on the ticket page of standard tickets, yet you see them on the query page.