Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#6003 closed enhancement (invalid)

[Patch] Add reset/unset resolution action

Reported by: kirean Owned by: retracile
Priority: normal Component: AdvancedTicketWorkflowPlugin
Severity: normal Keywords:
Cc: rjollos Trac Release: 0.11

Description

We are using a rejected status. In that state the reporter can

  1. accept and close the ticket
  2. decline the rejection and set the ticket back to previous state and owner.

We also need a reset/unset resolution action to be able to clear the resolution if a ticket rejection is declined.

So, if this plugin also could reset/unset the resolution we wouldn't need to create a separate plugin for the decline-action.

Attachments (1)

t6003_kirean_unsetresolution-r6774.patch (1.5 KB) - added by kirean 5 years ago.

Download all attachments as: .zip

Change History (9)

Changed 5 years ago by kirean

comment:1 Changed 5 years ago by kirean

Will the attached patch do?

comment:2 Changed 5 years ago by kirean

Pretty please with sugar on top?

comment:3 Changed 5 years ago by rjollos

  • Cc rjollos added; anonymous removed
  • Summary changed from Add reset/unset resolution action to [Patch] Add reset/unset resolution action

comment:4 Changed 5 years ago by kirean

Pretty please with sugar on top, and a cherry?

comment:5 Changed 5 years ago by retracile

How is this different from del_resolution provided in core Trac?

comment:6 follow-up: Changed 5 years ago by kirean

  • Resolution set to invalid
  • Status changed from new to closed

Ah, KISS. Excellent. I tried it and it works.

There is a bug in del_resolution though, no hint is shown. ;-)

comment:7 in reply to: ↑ 6 Changed 5 years ago by retracile

Replying to Erik Andersson <kirean@gmail.com>:

Ah, KISS. Excellent. I tried it and it works.

There is a bug in del_resolution though, no hint is shown. ;-)

Ah, so there is. Fixed in Trac trunk changeset:9266 and 0.11-stable changeset:9265. Thanks for pointing that out.

comment:8 Changed 5 years ago by kirean

Sweet. I verified that the 0.11-stable fix is working.

Thanks!

Add Comment

Modify Ticket

Action
as closed The owner will remain retracile.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.