I've created a new project and converted it to use the Agile Simplified Workflow and be managed by JIRA Agile.
When I try to add columns or statuses, I'm getting this error:
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][id,10004][sequence,17][description,This status is managed internally by JIRA Agile][name,Being Built][statuscategory,1][iconurl,/images/icons/subtask.gif] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus"))
It's the same error whether I'm trying "Add Status" or "Add Column". It's happening when using both Safari and Chrome.
Any ideas, please?
Hey everybody,
This is happening due to the following bug report: JRA-35857
If you have an OnDemand instance, please raise an issue with us and we can apply the fix for you!
Cheers,
Clarissa.
apologies for the over-sharing of status info. did paste it into window but it did not appear to have been pasted while composing...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I'm experiencing the same thing. Newly created board using Simple Workflow. Attempting to add a status fails with the same exception as above.
Am using OnDemand. What are my options?
I actually would prefer to primarily use statuses that already exist but only small subset seem available within JIRA Agile board though many more listed under overall status configs.
Am new to JIRA. Been browsing through many docs so far.
Any tips or pointers to docs?
Many thanks - Rob
Error
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][id,10003][sequence,23][description,This status is managed internally by JIRA Agile][name,qqq][statuscategory,1][iconurl,/images/icons/subtask.gif] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus"))
Error
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][id,10003][sequence,23][description,This status is managed internally by JIRA Agile][name,qqq][statuscategory,1][iconurl,/images/icons/subtask.gif] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus"))
Error
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:Status][id,10003][sequence,23][description,This status is managed internally by JIRA Agile][name,qqq][statuscategory,1][iconurl,/images/icons/subtask.gif] (SQL Exception while executing the following:INSERT INTO public.issuestatus (ID, SEQUENCE, pname, DESCRIPTION, ICONURL, STATUSCATEGORY) VALUES (?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_issuestatus"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries. If you are using OnDemand please do contact Atlassian Support as per my comment above. ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look in this KB: Duplicated Entry - Unique Constraint Violated ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the following:
update SEQUENCE_VALUE_ITEM
set seq_id = (SELECT max(id::integer)+1 FROM issuestatus)
where seq_name = 'Status';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the following:
update SEQUENCE_VALUE_ITEM
set seq_id = (SELECT max(id)+100 FROM issuestatus)
where seq_name = 'Status';
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Matheus. But we've got an OnDemand account. Is this something we can actually do? If so, could you direct me to directions on how to access the database like this? (Apologies for my ignorance!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
aahh, in this case you'll probably want to open a support case in https://support.atlassian.com under the OnDemand Support Project, and they'll be able to do it for you (read: you do not have access to the database in OnDemand).
If you want though, you can possibly try adding the status multiple times. That is, altough you'll see an error message each time you try to add it, the sequence will be increased in the database, and you'll eventually be able to add it with no problems (how many times you'll need to do this will depend on the amount of statuses you have).
My advice is to stick with the first option though. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.