Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for multiple phrases

Scott Hubay
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 30, 2022

I want to set up a rule that searches card descriptions that have to have both phrases within a card to be flagged in the search. 

For instance, if the first sentence in this question was a card description, a search that would flag it would be "card descriptions" AND "phrases". I don't want a search that searches for only "card descriptions" or only "phrases", I want a search that requires both. 

Can this be done? 

1 answer

1 vote
Nic Brough -Adaptavist-
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.
May 30, 2022

Welcome to the Atlassian Community!

The most simple approach is to create an automation that says something like:

  • Trigger: When field changes
  • Condition: Description contains "bob"
  • Condition: Description contains "kate"

This rule will halt if bob or kate are not found in the description.

If you want to do it in JQL, then "Description ~ bob and Description ~ Kate" will find the issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events