It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I've got a couple projects I'd like to set up and _really_ want to give them some 14 and 15 character project keys. Is there a configuration I can change to get rid of this 10 character constraing on the size of Project Keys?
OK, turns out working around this isn't nearly as difficult as I had feared.
Right there on the "Add a new project" screen is a link titled "import projects from another system". On that page is a CSV option.
I created a csv file with a header row and a data row. It only needs 3 fields. After a small amount of trial and error, it looked like this:
Project Key,Project Name,Issue Summary REALLYLONGKEY,Editable later so this part is not critical,Dummy summary for an issue
I followed the CSV import dialogue and mapped the fields according to the (now) very obvious headers and pushed next a few times until the import ran. ...and it worked!
NOTE: I tried this with multple projects and it did not like it. It would always only take one.
My next thought was, "I wonder if JIRA is going to choke on this long key somewhere down the line."
I eased my conscience by trying to submit the same key in an older test instance of JIRA 4.4. I was able to submit the 13 character lonk project key through the normal web interface in JIRA 4.4, so I'm thinking that anyone who upgraded from 4.4 to 5.0 has the potential of having a long project key via legit means... and it ought to work fine.
...I'd love to get a comment or two on users who have witnessed just this, or better yet, from an Atlassian who can confirm this.
Interesting piece of work - I'm looking at moving a v4, with a long key as I mentioned earlier, onto v5. So thanks for the investigation! If I get there before you, I'll let you know what happens!
:( I am not sure which version of jira or the plugin you are using, but even the CSV import is blocking me with the "Invalid project key REALLYLONGKEY: The project key must not exceed 10 characters in length." I am on Jira 5.0.6 and the plugin is 4.3.1.
I have raised an issue with atlassian, and they say existing 'long key' projects will not impact future upgrades or data integrity. What a complete pain this is.
There is also a jira that will make this restriction configurable which should be voted on :)
https://jira.atlassian.com/browse/JRA-28577
Good point Heather; I should have mentioned this before.
When I performed the steps listed above, I was using JIRA 5.0.1. We're now on 5.0.4 and I have not tested this solution again. The importers plugin is at 4.3.2.
Please note that from JIRA 6.x, the character limit can be configured.
Please see: https://jira.atlassian.com/browse/JRA-28577
I desperately need to create projects with a key longer than 10 characters.
The method of using Import is not so good because:
1. I always get 1 "dummy" issue.
2. I cannot use the Copy Project feature in Script Runner to clone a project (and its settings)
Someone that knows a way around this?
Preferably remove this limitation in Jira.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.