Opened 5 years ago

Closed 21 months 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


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 5 years ago by anonymous

  • Cc georgy.steshin@… added; anonymous removed

comment:2 Changed 21 months ago by Cinc-th

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:

# The following are from other workflows. By including them here they will show up
# as a selectable item on the ticket query page.
approve = approved -> approved
remove = removed -> removed

Because there is no transition to the statuses approved and removed in 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.

comment:3 Changed 21 months ago by Cinc-th

  • Owner changed from ermal to Cinc-th
  • Status changed from new to accepted

comment:4 Changed 21 months ago by Cinc-th

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

I added a how-to to the wiki page essentially duplicating what I posted in comment:2.

comment:5 Changed 21 months ago by Cinc-th

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Looking at the source this problem may be fixed with some code.

comment:6 Changed 21 months ago by Cinc-th

  • Resolution set to fixed
  • Status changed from reopened to 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.

Add Comment

Modify Ticket

as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.