Inside my program I have written the following statement
stmt.executeUpdate("INSERT INTO CUSTOMFIELDVALUE VALUES(10001,12800,12000,NULL,'0.46 Days',NULL,NULL,NULL,NULL)");
I think the error has came because I manually created the Id(10001).
My question is how in jira the id for CUSTOMFIELDVALUE TABLE IS CREATED
And also what is SYS_IDX_57?
Could you please stop tagging things with "on demand" when you are NOT using OnDemand?
Anyway, yes, you should never update a Jira database with SQL unless you know exactly what you are doing. You probably have neglected to update the counter table sequence_value_item
Also, if you are going to use SQL on a Jira database, you MUST NOT have Jira running. I can't emphasise this enough - Jira MUST be offline, shutdown, inactive. When you restart it after executing the SQL, you will then need to re-index it
Stop your Jira now if it was running, update sequence_value_item, restart and reindex.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs