How to create an autoincrement alphanumeric custom field using Jira Software Server.

Hi ,

 

I am newbie and I have a task to present a screen with autoincrement custom field value i.e running value of field SR100001 and so on in increasing manner whenever "Create Issue" is clicked

2 answers

0 votes
Alexey Matveev Community Champion Dec 26, 2017

Hello,

You would need to develop your custom field or use an add-on like Adaptivist ScriptRunner or Power Scripts. 

Could you help me with a sample script as I have no programming knowledge

Alexey Matveev Community Champion Dec 27, 2017

It depends you are on Cloud or Server and what plugin you are going to use.

I am using Jira Server with Jira Suite Utilities as add-on plugin

Alexey Matveev Community Champion Dec 27, 2017

I am not much familiar with the add-on. But as far as I know you can not add scripts there. 

Hi Satish,

What is your purpose for this field? How would this differ from the Jira issue key which already generates a unique number for each issue?

... and would remain a lot more functional and useful than an arbitrary unique number...

While thinking about that, have a think about the actual requirement - why would this be useful to your end users?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

855 views 5 18
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot