Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Can we have series number in Jira cloud custom fields incremented whenever a new work item got creat

Can we have series number in Jira cloud custom fields incremented whenever a new work item got creat

sravani vennapusa
May 19, 2026

Can we have series number in Jira cloud custom fields incremented whenever a new work item got created as follows (for bug -1 the field should beTR0000001, for bug-2 the field should be TR0000002) like that? can anyone please suggest?

Thanks.

2 answers

2 votes
Sebastian Krzewiński
Community Champion
May 19, 2026

Hi @sravani vennapusa 

 

First of all why? You have unique issue key.

Secondly you can use automation and number from issue key add to TR000... in text field. You need to create logic to add correct number of '0' depending on number from issue key.

Due that TR00000... is a combination of letters and numbers you can't use math smart values.

 

Regards,

Seba

0 votes
Arkadiusz Wroblewski
Community Champion
May 20, 2026

Hello @sravani vennapusa 

Something like that: TR{{issue.key.substringAfter("-").leftPad(7,"0")}}

That should give you: 

ABC-1 → TR0000001
ABC-25 → TR0000025

Just keep in mind that this is still tied directly to the main Jira issue key number, so it won't give you a separate, independent counter per issue type. If you need a strict, completely separate sequence just for Bugs, I wouldn't recommend trying to build that with native Jira automation alone and take a look for Forge Integration or App.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events