• Community
  • Products
  • Jira
  • Questions
  • My JIRA OnDemand instance is giving me the following error message every time I try to create an issue within a single project

My JIRA OnDemand instance is giving me the following error message every time I try to create an issue within a single project

Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Issue][summary,testing issue][status,1][votes,0][assignee,kevin.smith@selfridges.co.uk][number,118][security,null][resolutiondate,null][type,1][timespent,null][id,12037][reporter,jamie@tankflybosswalk.com][project,10600][environment,null][created,2013-12-17 15:33:33.077][updated,2013-12-17 15:33:33.077][workflowId,12786][description,test ][priority,4][timeestimate,null][duedate,null][timeoriginalestimate,null][watches,0] (SQL Exception while executing the following:INSERT INTO public.jiraissue (ID, pkey, issuenum, PROJECT, REPORTER, ASSIGNEE, issuetype, SUMMARY, DESCRIPTION, ENVIRONMENT, PRIORITY, RESOLUTION, issuestatus, CREATED, UPDATED, DUEDATE, RESOLUTIONDATE, VOTES, WATCHES, TIMEORIGINALESTIMATE, TIMEESTIMATE, TIMESPENT, WORKFLOW_ID, SECURITY, FIXFOR, COMPONENT) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "issue_proj_num"))

Everything seemed to be fine until about 20mins ago, can anyone help or at least point me in the right direction?

1 answer

This widget could not be displayed.

Hi Jamie,

We have addressed this problem via a Support request because you are using OnDemand.

If anyone with self-hosted JIRA comes across this problem, you will want to look at the project.pcounter field for the project you cannot create issues in, and make sure it's as high (or higher) than the number of issues in that project.

While not exactly the same issue, the instructions in the following KB article should provide enough details about the problem:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

86 views 0 1
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you