Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Project Key predefined chronologically?

Steve Smothers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2013

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

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2013

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)

0 votes
Steve Smothers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 9, 2013

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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events