Forums

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

Create a JQL filter that filters A-D items that starts with A until D, then do another filter E-H.

Heloísa Megda
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!
July 17, 2023

Hello there,

I wanna do quick filters to separate alphabetical names, so for example, selecting just items that the field "Company Name" starts with A until D.

I tried to order by ASC but it doesn't split by groups.

Someone can help me?

 

 

Heloísa Megda 

2 answers

1 accepted

0 votes
Answer accepted
Evgenii
Community Champion
July 17, 2023

Hi, @Heloísa Megda 

Standard JQL doesn't support regexp search, so, it's not possible to make search. like you're trying to do.

There is a workaround, but it's not very correct, when it looks for issues. If Company Name consists from 2+ words, it will look at all words, and tries to find matching.

Screenshot_31.jpg

As you see in example, query found issues, where second word starts from A, and issues, where first word starts from T. If it's not very critical, and company names consist from one word, or are named like Company_Name, you can try to use such query:

summary ~ "A* || B* || C* || D*"

Heloísa Megda
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!
August 7, 2023

Thanks! It worked

Like Evgenii likes this
0 votes
Trudy Claspill
Community Champion
July 17, 2023

Jira does not natively support a JQL function to search a text field specifically for the text that appears at the beginning of the field. The CONTAINS operator (~) will search the entire field so if you did
"Company Name" ~ "a*"

The search results would contain issues where any word within Company Name begins with an "a".

Are you willing to consider using a third party app to meet your requirement?

Suggest an answer

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

Atlassian Community Events