Forums

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

Custom Field for Unique Number

Guntis Zoldners
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2024

Hello, Can I make a unique number field to import issues to Jira so they do not duplicate with the next import?

4 answers

1 vote
Bill Sheboy
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 Leaders.
October 31, 2024

Hi @Guntis Zoldners -- Welcome to the Atlassian Community!

What problem are you trying to solve by doing this?  That is, "why do this?"  Knowing that may help the community to offer better suggestions.

Until we know that...the Issue Key and Issue Id are already unique identifiers within the site's issues.

Kind regards,
Bill

0 votes
Guntis Zoldners
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 31, 2024

Thank you for the warm welcome!

To clarify, I’m looking for a way to ensure unique identifiers during regular imports, as there’s a chance of accidental duplication with each batch. Specifically, I need a custom field that can consistently enforce uniqueness across imports in a Jira Cloud instance. The goal is to prevent re-imported issues from creating duplicates, ideally by recognizing if an identifier already exists in the system.

I understand Jira natively provides Issue Key and ID for internal uniqueness. However, these don’t apply across external imports. If anyone has insights on plugins or methods that work in Jira Cloud to flag or prevent duplicates based on custom field criteria, I’d greatly appreciate it!

0 votes
Alex Koxaras _Relational_
Community Champion
October 31, 2024

Hi @Guntis Zoldners and welcome to the community,

Out of the box Jira doesn't provide this functionality. However you could use this free app https://marketplace.atlassian.com/apps/1211043/unique-regex-custom-field?hosting=datacenter&tab=overview, which to be honest I haven't tested it. It might suit your needs.

Marc - Devoteam
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 Leaders.
October 31, 2024

Hi @Alex Koxaras _Relational_ 

You could be right, only that this app is not for Cloud instances only on-prem.

Stated to the tags the user is on Cloud

Alex Koxaras _Relational_
Community Champion
October 31, 2024

Ohh my bad! Indeed it is for DC version.

Then the other way to approach this issue @Guntis Zoldners would be to try and create a new forge app, for a custom field, which will include regex setup screen, similar to the one of the DC version. I have in the past created custom fields using forge, but not regex ones.

0 votes
Marc - Devoteam
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 Leaders.
October 31, 2024

HI @Guntis Zoldners 

Welcome to the community.

The only option you have is to have a custom number field and to not use this anymore in a future import.

There is no unique option in Jira fields.

Suggest an answer

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

Atlassian Community Events