Modify

Opened 6 years ago

Closed 23 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

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

Cc: georgy.steshin@… added; anonymous removed

comment:2 Changed 2 years 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:

[ticket-workflow]
[...]
# 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 23 months ago by Cinc-th

Owner: changed from Ermal Memushaj to Cinc-th
Status: newaccepted

comment:4 Changed 23 months ago by Cinc-th

Resolution: worksforme
Status: acceptedclosed

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

comment:5 Changed 23 months ago by Cinc-th

Resolution: worksforme
Status: closedreopened

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

comment:6 Changed 23 months ago by Cinc-th

Resolution: fixed
Status: reopenedclosed

Fixed with [14565]:

When Trac queries all statuses (get_all_status()) gather status information from all defined workflows in addition to the default workflow.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Cinc-th.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.