Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Application link: duplicate key value violates unique constraint "uk_oauthcons_key"


I've just updated Fishey/Crucible to the latest version, 4.8

After our upgrade the JIRA application link does not seem to work.

The follow error appears in the Fishey/Crucible server log.

Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "uk_oauthcons_key"
Detail: Key (cru_oauthcons_key)=(xxxx:yyyy) already exists.

 I've tried to recreate the application link but with no luck.

There seem to be other community posts with a similar problem.

I've also followed these instructions to delete the application link in database, but with no luck.

There are only so many times I can delete and re create with out going insane :)

Is anyone familiar with this issue that might give me a closer insight to this?

2 answers

We have the same problem. Doesn't sound like anyone has resolved this?

Did you ever find a solution?  We are trying to add an application link between Fisheye/Crucible and Jira DC 7.12.3.

From Fisheye: 

2020-10-06 10:16:08,662 ERROR [qtp1270836494-11103 ] org.hibernate.engine.jdbc.spi.SqlExceptionHelper SqlExceptionHelper-logExceptions - Violation of UNIQUE KEY constraint 'uk_oauthcons_key'. Cannot insert duplicate key in object 'dbo.cru_oauthcons'. The duplicate key value is (jira:5556796). 2020-10-06 10:16:08,662 ERROR [qtp1270836494-11103 ] fisheye SessionState-commitAllTx - Commit failed. Rolling back. org.hibernate.exception.ConstraintViolationException: could not execute statement  

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events