0

I haven't figured out how to use a shared filter through the api search endpoint without setting it and having to set it back to the users default.

It would be really nice if you could just do this:

api.asp?cmd=search&sFilter=123

Fog Creek Case FC2345413

flag

1 Answer

1

The sFilter argument is only used by the listCases command not the search command. The search command only uses the q argument.

While looking into this, I discovered a bug that was preventing listCases from loading saved filters as intended. I've fixed this bug and it will go out in an upcoming FogBugz release. Once this fix has been released, you should be able to obtain your desired results via the following endpoint:

[your FogBugz]/api.asp?cmd=listCases&sFilter=123

To see a list of valid sFilter arguments, take a look at the listFilters endpoint.

link|flag

Your Answer

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