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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 8 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

40 views 1 2
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