Forums

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

I want a field to be unique while reporting so can you help on how to set via filter or JQL?

Srikanth Doddapaneni
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!
February 19, 2024

I have Jira issue type with a field called CODE.

Example :

FieldJira 1Jira 2Jira 3
CODESR01SR01SR01

I'm using Issue statistics gadget and getting the count as 3 but I want the count as 1. Is there any way to set the CODE value as unique? 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
February 19, 2024

Welcome to the Atlassian Community!

You would need to write a validator that can stop people putting non-unique data into the field.

But I would not do that, I would recommend looking at why you think you want unique data in the field.  It's usually pointless because the point of a field is to report on related things, and in the few cases where you do need it, it's usually better done in other ways (not using unique values in fields or automating something)

Suggest an answer

Log in or Sign up to answer