The title mostly tells it:
Where does Jira store the highest ID value for entries in table customfieldoptions?
Background:
I added entries to table customfieldoptions via imports to the backend-DB. To do this in an efficient way I set the ID column of customfieldoptions to IDENTITY column (not so good idea).
This leads in the first place to the effect that you get a "Oops 500 technical problem..." error. If you switch the identitiy column feature off, one gets a "Duplicate key" error, as JIRA has somewhere an internal counter which counts the IDs of customfieldoption rows. I see that JIRA increates the value it sends to the database. Where is that value stored?