Creating auto-incrementing custom field

Hello,


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 yesterday in Featured Groups

Are you managing your users efficiently?

Hi everyone, I am Marek, a Senior Product Manager for Crowd   Server and Data Center   here at Atlassian. I would like to spark a discussion about challenges you have with managing use...

97 views 1 3
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