• 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 votes

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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,792 views 18 22
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