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.