It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to change projectKey if before this key was used by other project

Alexander Yu Jan 12, 2016

Hello!

I have project with

SSD key name "SSD private project" 

SDD key name "SSD public project"

And I shuld change keys:

SSD -> SSDP

SDD -> SSD

First (SSD -> SSDP) was sucsessfully changed re-indexed, but the second (SDD -> SSD) not changed. I have error message: Project 'SSD private project' uses this project key.  But it's impossible I changed this project key.

After restart JIRA have the same situation.

What should I do?

 

1 answer

1 accepted

2 votes
Answer accepted
Vasiliy Zverev Jan 12, 2016

All project keys are stored into table project_key. Use this SQL to get a record for requared project key:

select
	project_key.*
from
	project_key
where
	project_key.PROJECT_KEY = 'ED'

The you need to delete this record. Be very careful when delete somethink via SQL.

ATTENTION:

  1. MAKE A BACK UP OR TRY THIS ON TEST JIRA INSTANCE FIRST
  2. DO NOT DO ANY DELETE FROM DATABASE IF YOU ARE NOT SURE WHAT ARE YOU DOING
Nic Brough [Adaptavist] Community Leader Jan 12, 2016

If you do this, you could break the code that allows historical lookups, so it's strongly advised that you do NOT do it. It can't handle a case where Create ABC-123 Rename project, or move ABC-123 to another project, so it's now DEF-456 Hack database Create new project ABC When you create a new ABC-123, you now have two historical issues for it...

Alexander Yu Jan 13, 2016

ok Thans! I think beter to leave it

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

664 views 7 0
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you