[forge:site-support:#541]
The SF2 Tickets tool seems to try to combine the functions of the separate 'status' and 'resolution' fields of the old SF1 Trackers into a single 'status' field. There are very good reasons to keep 'resolution' and 'status' separate when tracking bugs and feature requests, and that is how Bugzilla does it too.
I understand that I can use the custom field function to add Resolution to all my ticket tools, with a menu of values. And I discovered that if I enable "Show in search" for that field, then the new field shows in the ticket listing. (Undocumented feature?)
The problem is that when the SF1 tracker data was upgraded to the SF2 tickets tool, all the 'resolution' values were apparently discarded. For record-keeping purposes, this is a big deal, as there is no way to determine how a ticket was resolved except what you can glean from the comments. For example, this old bug report has status=Closed but doesn't say why. From my pre-upgrade XML backup, I can see the resolution was 101=Duplicate.
(While I am complaining about Tracker to Tickets migration, it would have been nice to have a populated "old ID" field, so when my NEWS or ChangeLog says "fixed bug #1234567", I had some way of finding the new ticket for it, other than searching by summary.)
Perhaps we should add each resolution that's used to "Closed Statuses" during migration?
Diff:
The first link of sourceforge (Undocumented feature) not working.
Yeah, I think if Resolution is not None, we should incorporate it into the status. E.g. "Closed-Invalid" or "Pending-Remind"
Created #194: [#4936] Keep ticket 'resolution' values during project update (1cp)
Related
Tickets:
#4936Closed #194. Branch
je/42cc_4936
in forge-classic repo.Also this needs changes in allura (branch
42cc_4936
in allura repo)The code provided is pretty good, but there are a few issues:
open-remind
) show in the Status drop-down. I thought that's what the append_open_status_name/append_closed_status_name was for, but it doesn't seem like its working. Specifically,closed-fixed
andpending-accepted
don't show up. Perhaps this is because those names overlap with statuses already in the lists (pending, accepted, closed, etc). Ideally we would eliminate those default statuses if the project migration sets up new statuses with very similar names.Strange.. we'll check that again.
So, we should remove default status if it appears with any of the resolutions? E.g. if we have
open-remind
should we deleteopen
?Created #204 for that: [#4936] 'Status-Resolution' improvements (1cp)
Related
Tickets:
#4936Yes, I think that approach would work well. It doesn't have to be perfect since we don't have a perfect match between classic statuses and the default new statuses, but I think that'll be close enough.
Closed #204. Branch
je/42cc_4936a
Code was a little bit rewritten, thus we don't need changes in allura.
tests pass; no allura changes needed