Creating auto-incrementing custom field


I am looking for some guidance on the best approach to creating a new field that auto increments number based on a previously selected field. This would be specific to one project and not across the entire environment.

Example: I have current field in place called "Warehouse" that holds a list of warehouses. I'd like to create a new field called "Pile #".  When "Warehouse" is selected as "Site-7" I'd like "Pile #" to recognize that this is for example the 4th issue of Warehouse: Site-7 and Pile # would auto-increment to "4".

The value of "Pile #" would be specific to the "Warehouse".  If the next issue created is for "Warehouse" "Site-32" then the next "Pile #" should auto-complete to the next number for "Site-32".

Does this make sense? If so, is this possible to accomplish? 

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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