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.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.