• 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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

894 views 3 12
Read article

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