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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

70 views 2 3
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