JQL for filter field with the same value

Surya Narayanan March 5, 2021

i have a custom field, i need a filter to have the issues that have same custom field value.

CF!~ Duplicate works but CF~ Duplicate does not work.

 

can anyone please share your thoughts on this?

1 answer

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2021

Based on the Infor provided, which seems a bit incomplete, I would offer the following...

”my custom field” is not empty”

Surya Narayanan March 5, 2021

Hello Jack, sorry if i wasn't clear with my query. my condition is this:

i have a custom field, where there are multiple values will be keyed in. i wanted to have all the issues that have the same value on this custom field. 

JQL works for specific value, if i say Custom field ~ "XXX" so all 3 issues with XXX are appearing in the result.

i wanted all issue that have same value or duplicated value in this custom field.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 5, 2021

so are you saying you want to find all unique values of the custom field and the count of the number of times they appear? If so I wonder if the 2-dimensional gadget would work here. 

possible JQL - project in (a, b, c...) - include all projects where the custom field is used or again maybe simply ”my custom field” is not empty”

2D: x-axis set to status, y-axis set to "my custom field"

I haven't tried this but think it may work. 

Also consider exporting to excel

Surya Narayanan March 5, 2021

I need to find the duplicate value not the unique value.

Export to excel will work for sure.

But I need as a filter so I can use that as quick filter in the KANBAN board. 

Daniel Ebers
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.
March 8, 2021

Every time this question comes up in Community (every now and then it is the case) there are reports that JQL is not capable of doing so and some users experiment with this SQL extension:
https://marketplace.atlassian.com/apps/1213501/sql-jql-driver-transform-jql-into-sql?hosting=server&tab=overview

I cannot advise on this, however - as not tried, just repeating what was said over the years. Browsing a bit around there are also no examples, so it would be some engineering work coming up for you :/

Suggest an answer

Log in or Sign up to answer