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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

JQL query for search issues based on substring as wildcard * can’t be used as first character Edited

Ex: ABCD123

I want to search Issues using advanced search where issue summary contains 123 but due to restricted characters as per information here https://confluence.atlassian.com/jirasoftwareserver0710/advanced-searching-953146961.html and wildcard * can’t be used as first character.

 

1) summary ~ "123" --> Doesn't return any result as it is substring.

2) I am able to query JQL using "ABCD*" using wildcard operator and getting result.

3) "*123" doesn't return any result 

 

Is there any workaround for this ?

1 answer

0 votes
Dirk Ronsmans Community Leader Dec 01, 2020

Hi @Prasad Pendke ,

Wouldn't a simple JQL like:

summary ~ "123"

already work?

the tilde operator ~ is a contains operator so that will also look for substrings.

https://confluence.atlassian.com/jiracoreserver073/advanced-searching-operators-reference-861257221.html#Advancedsearching-operatorsreference-CONTAINS

1) summary ~ "123" --> Doesn't return any result as it is substring.

2) I am able to query JQL using "ABCD*" using wildcard operator and getting result.

3) "*123" doesn't return any result 

Dirk Ronsmans Community Leader Dec 01, 2020

Apologies, missed that one.

Seems prefix searching is just not supported yet however they should support it from Server 8.6.0 on.

https://jira.atlassian.com/browse/JRASERVER-6218

What server version are you on?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

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