The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Assets - Automatically increment hostname when a new object is created

Sam Thornton
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 Champions.
December 11, 2023

Hello!

I'm hoping someone can help.

I'm looking to automate our naming convention in Jira Service Management - Data Center version 5.4.14, within Assets.

What I'd like to do is when someone creates a new asset object, I'd like the hostname attribute to automatically increment by 1.

For example:

AB23123

and when a new object is created:

AB23124

Is this possible, and if so, how could I go about it?

As an additional question, we use part of the year. Would I easily be able to edit the above naming convention next year to be something like AB24123 instead, without overriding the old hostnames?

Thanks!

Kind Regards,
Sam

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events