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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,955
Community Members
 
Community Events
176
Community Groups

How to filter tickets using keywords

How to filter tickets using keywords

1 answer

0 votes
Jack Brickey Community Leader Jan 24, 2023

Hi @Candy Tricia Khohliwe , I'm not sure precisely what you are looking for here. If you are trying to find all issue that have a certain word in a text field you can use JQL. For example...

project = abc and text ~ "hello" 

Would find every issue where the word "hello" is found in text fields, e.g. Summary, Description, comments

you can further restrict to a specific field, for example...

project = abc and Summary ~ "hello" 

if you have a custom text field then the following would work...

project = abc and myfield ~ "hello" 

What about multiple keywords?

Jack Brickey Community Leader Jan 24, 2023

First please answer if the field you wish to search is a text field?If so which field(s)?

example...

text ~ "keyword1 keyword2 keyword3"

Would return any issue where a text field in that issue contains any of the above key words.

I want the keywords to be identified fro Summary, Comments and Description fields

text ~ "keyword1 keyword2 keyword3" adding the multiple words like this doest eem to work

Jack Brickey Community Leader Jan 27, 2023

Are you wanting to find issues where any of the keywords exist (not exact phrase, one or more of the words)? If so this is the JQL to use...

text ~ "word1 word2 word3"

if you want exact phrase then...

text ~ "\"word1 word2 word3\""

Note you can also use the Search bar in the menu and simply type word1 word2 word3

if you want to find all issues that have all 3 words then...

text ~ "word1" and text ~ "word2" and text ~ "word3"

BTW here is a useful reference - search-syntax-for-text-fields 

The problem is that I think the JQL looks for keywords in one issue type that may have all the specified Keyword whilst I want the filter to extract all issue types that may have at least on of the Keywords specified.

Jack Brickey Community Leader Jan 27, 2023

Hi Candy,

I think that I may be missing your point here.

It seems that you want to find all issues that have one or more of your key words. If that is the case then, as stated above, the following should work.

text ~ "word1 word2 word3"

This JQL should find all issues that have one or more of the key words.

For example:

ABC-123 may have "word1 in the Summary field

ABC-222 may have "word1" in the summary and word3 in a comment

ABC – 345 may have word2 and word3 in the description

etc...

If possible could you please provide your exact JQL that you feel is not returning what you want? Moreover, if you could provide an example of why you think the JQL is failing to provide the desired results that would help me.

Suggest an answer

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

Atlassian Community Events