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.

4 answers

3 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
Monika Ambrozowicz_Seibert_
Atlassian Partner
June 24, 2026

Hi @sravani vennapusa, I've just come across your post and I wanted to add another suggestion. The closest native workaround for your need is using Jira Automation: you can create a rule that triggers on issue creation, reads the issue ID or a counter variable, formats it as a zero-padded string, and writes it to a text custom field. This works but requires some setup and the counter management can get tricky. Jira Automation's global variables (smart value counters) have limitations around concurrency, so if multiple issues are created in quick succession you can occasionally get duplicates or gaps.

If you're open to a Marketplace app, Awesome Custom Fields offers an Advanced Formula field type that can perform calculations and text formatting based on other field values. Depending on your exact requirements, a formula referencing the issue's numeric ID could produce a consistently formatted string like TR0000001. That said, if you need a truly independent counter that's completely decoupled from the issue key, that's a harder problem and not something any formula field handles cleanly.

Bonus: With Awesome Custom Fields comes an entire set of fields that native Jira doesn't offer: color labels, multi-level cascading select, issue picker, and visual fields like a progress bar, t-shirt size, or traffic lights. Full disclosure: I am affiliated with the team that built this app but it also means I'm happy to answer any questions you might have. 

 

0 votes
Shivam Sharma - Optimizory
Community Champion
May 21, 2026

Hi @sravani vennapusa ,

Totally doable in Jira; the question is just how clean you want the sequence to be. Native automation can get you the TR0000001 format using a smart value like TR{{issue.key.substringAfter("-").leftPad(7,"0")}}, but the number stays tied to the Jira work item key. So you'll see gaps when work items get deleted; the same counter runs across all work item types, and existing work items won't get a value unless you backfill them.

If you want a proper independent sequence, Jira add-on "Custom ID for Jira" handles exactly this. You define a pattern like TR0000001 once on the Custom ID home page, and every new work item gets the next ID automatically. You can also set different patterns per work item type or project, so Bugs, Stories, and Tasks can each follow their own numbering scheme.

To get started:

You can find the app on the Atlassian Marketplace. And also, there's not any cost for this; it's a free app.

Happy to help if you have more questions!

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