Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Searching terms with multiple hyphens

I am looking at Jira Service Management Cloud for my environment and I just discovered that there is a long known issue in Jira searching for terms with hyphens in them. This is a huge issue for me because our asset naming scheme includes lots of hyphens.

I might have an asset named NY-BDG1-ABC12. The only search term that matches this for me is "NY BDG1" with a space. Not "NY-BDG1-ABC12", not "NY-BDG1", not "NY\\-BDG1\\-ABC12", not "*ABC12", not "ABC12", not "NY?BDG1?ABC12". The only problem with that is I have too many other assets that start with "NY-BDG1" to make this practical. I need to search the whole asset name or at the very least, search the end of the asset name (ABC12).

Does anyone here have experience working around this limitation or know of a search technique or JQL query that will work?

1 answer

1 accepted

2 votes
Answer accepted

@t_s_llc -

What is the data type for your asset field?  If it is a text field, the please take a look at this documentation page https://confluence.atlassian.com/jiracoreserver0814/search-syntax-for-text-fields-1043894982.html  (Focus on the section - "Special Characters" and "Exact searches (phrases)" section.

Even though it is for Jira DC env and not for CLOUD env, but the JQL search behavior are the same.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Ah ha. I had already looked at that page but my jql syntax was off. I needed to escape my double quotes in an advanced search:

Text ~ \"NY-BDG1-ABC12\" order by created DESC

Hopefully this helps someone else. I'd seen the hyphen search problem elsewhere but no solutions.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

815 views 26 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you