4

3

I'm going to be using FogBugz for customer communication. I don't want my customers to see Case 32 in the subject line and assume that I'm a new/tiny operation, even if I am. How do I start with a higher case number?

flag

2 Answers

5

This can also happen if you have imported cases into FogBugz from another instance of FogBugz or another tool such as Bugzilla. To avoid case number conflicts, you can change the next case number with a simple XML API (docs) command which you can run right in your web browser.

You'll need to be a Site Admin for your FogBugz account. First, login using your email address and password. Put the following in your browser, replacing the text in [square brackets] with values appropriate to your install:

http://[yourfogbugz]/api.asp?cmd=logon&email=[youremail]&password=[yourpassword]

Two important notes:

  • If you're on FogBugz On Demand, you must use HTTPS, not HTTP.
  • FireFox works really well for these kinds of API calls.

The API should give you an XML response with a token that looks something like this:

<response>
<token>tfhqpjantio6dav0er9lsjqpl5f2i8</token>
</response>

Copy the token value. Now change your starting case number by putting the following URL in your browser, again replacing the appropriate values:

http://[yourfogbugz]/api.asp?token=[yourtoken]&cmd=adminSetCaseNumber&ixBug=[desirednumber]

The response given will always be

<?xml version="1.0" encoding="UTF-8"?><response></response>

However, if you're viewing this in a browser, that response may be summarized as simply:

<response/>

But actually viewing the source of that page should yield the complete response as shown above.

If you're having difficulty with this, please make sure you're using a token associated with a site admin account.

link|flag
Is there supposed to be a specific response when you run this command? "<response/>" is all I get on my screen, which is fine, means its a valid command, but if I try to add cases after running this command they're still defaulting back to the ridiculously large number I used for testing purposes once, so I'm curious if I'm supposed to see more of a confirmation after running this. I have administrative permissions etc. so I'm not exactly sure what's going wrong. – JessT May 10 2011 at 22:34
Please see my edits above. – Rich Armstrong May 11 2011 at 17:55
0

I have been using this technique while importing cases from our old system to preserve case numbers.

However, I updated to 7.3 last week and now the first time I have tried to use in the last week or so it no longer works.

Has this changed in the latest update ?

link|flag
I'll file a case to check this has not been broken. – Rich Armstrong May 25 2010 at 16:00
I just tested this in FogBugz On Demand, version 7.3.1H. It works fine. Contact us directly to get this resolved. contact.fogcreek.com – Rich Armstrong May 25 2010 at 16:02

Your Answer

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