3

I need to throw a fairly wide net to find the cases I need in a filter / search, so I get all the cases I need, but there are some extra, unrelated ones I want to remove. The cases don't have anything in common that I can use to change the filter. I would like to be able to just cherry-pick them out.

Fog Creek Case FC2054589

flag
I think it should be a good thing – Andrea - Eurosystem2000 Apr 29 2011 at 9:15

2 Answers

1

I did a simple customization, without any remembering between case lists, but including an Unhide link:

name:          Cherry-pick rows
description:   Clicking the category icon hides a row from the list
author:        Michel de Ruiter
version:       1.0.0.0

js:
if ($("#bugGrid")) {
  $('#bugGrid tr img.catIcon')
  .attr('title', 'Click to hide row')
  .click(function(){
    var row = $(this).closest('tr');
    row.find('input[name=ixBulkBug]').attr('checked', false);
    row.hide();
  });
  $("#listNav").prepend("<a id=\"unhd\" href=\"#\">Unhide</a> | ");
  $("#unhd").click(function(){
    $("#bugGrid tr:hidden").show();
    return false;
  });
}

The hiding will get lost when the list updates.

link|flag
0

We have a case open to consider this feature for a future release. Please up-vote this question (not this answer) to show your support for adding this feature.

If you only want to remove these from the UI (but still have them in the html page and therefore in exports you do of the list to Excel), you can use BugMonkey to add javascript to fogbugz. The javascript will need to use "local storage" in your browser to keep a list of case numbers to hide. When you list cases, it will go through all the rows and collapse the ones in its list of cases to hide. You can use this script as an example to work from. It adds collapsing to sections (such as area) in the case list.

To really change the filter and remove cases, you can try writing a plugin. The plugin can add a search axis for excluding cases by number. A plugin can add a search axis that would just add a clause to the SQL query behind the filter:

WHERE ixBug NOT IN (1234, 234, 34666)

A new item in the contextual menu would adjust your filter to put "Exclude:1234" (if the new axis is called "Exclude") when you click for case 1234. Available plugins are listed in the Gallery.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.