Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

JQL query to filter dropdown field values that contain text phrases

Hello,

I am looking to create a report that checks the number of tickets for unsupported versions of software.  When customer open tickets, I have a field with a list of our released versions (example "2.0", "2.1", "3.0", etc.) , and when support for that version ends we restrict the availability of the old fields and have options that include "(Unsupported)" (ex. "1.0 (Unsupported)", "1.1 (Unsupported)").  I've tried to write a JQL query as
[field name] ~ "Unsupported" or alternatively [field name] !~ "Unsupported", but I'm getting a message that "The operator '~' is not supported by the 'field name[Dropdown]' field."

Thanks!

 

 

3 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 27, 2023

You should be able to use [field name] = "1.0 (Unsupported)", or if you are searching on multiple values [field name] in ("1.0 (Unsupported)", "1.1 (Unsupported)")

So the only way would be to specify all the versions that have "(Unsupported)", there isn't a way to search on values that contain a specific string from a dropdown menu?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 30, 2023

No, wildcard searches is only available for text fields, like summary and description. You would need an app that extends JQL in order to do fuzzy searches on dropdown fields. If you look in the Marketplace you will find apps that can do this.

Like James K_ likes this
0 votes
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 12, 2023

Hi @James K_

if you are open to solutions from the Atlassian Marketplace, this would now be easy to do using the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting - as well as the ability to perform text matching on all issue fields:

text-searching-fix-versions.gif

For more sophisticated use cases, you can also use regular expressions.

Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.

Any questions just let me know,

Best,

Hannes 

Awesome, thanks!

Suggest an answer

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

Atlassian Community Events