Project Key predefined chronologically?

This solution is great, with the exception of the project key. Is there a way for that key to work like it does with an issue; e.g. populate that feild with the next available number so that for every project we open a new numeric key is assigned to the project? Thanks!

2 answers

And if the "key" can't do that, is there a way to add a custom feild for new projects that populates in this way. Thank you in advance!

0 vote

No, the key is designed to be set by the human creating the projects because 99.999% of us want to set it to something that hints at the project name/scope.

I suppose you could write some code to do this for you, but I'd suggest going with your second idea instead. A really simple implementation could be to create a derived/calculated field could actually be immensely simple and expose the project-id of an issue to the users. It's not sequential, but it's certainly ordered in the right way. You'd need something a bit more complex if you wanted to go with "next free number" as it would have to store the number for each project, and go look for "largest" every time an admin clicks "create project"

Also, bear in mind that numerics are not supported in project keys - they must start with a letter (I've known at least two Jira installs run into huge problems when they allowed numbers at the start)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey 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...

212 views 1 18
Join discussion

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