Forums

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

How to filter projects with a special prefix in the name

samantha.passardi
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 18, 2022

I need to filter all tasks/issues belonging to a specific group of projects, filtering them through project's name prefix.

EX:

Project 1 : "PRE1_namefirst"

Project 2 : "PRE1_namesecond"

Project 3 : "PRE2_namethird"

RESULT : all tasks belonging to project1 and 2, but NOT the project3

2 answers

0 votes
Payne
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.
July 18, 2022

If you happen to have the ScriptRunner app installed, it has a handy projectMatch function that can be used for this purpose.

e.g. project in projectMatch("^PRJ.*")

0 votes
Walter Buggenhout
Community Champion
July 18, 2022

Hi @samantha.passardi,

You cannot do fuzzy searches on project names. As a workaround, you might consider using the project category (which you can set on each Project via project settings > details. It then allows you to search on category = PRE1 (just continuing from your example here).

Project categories can be defined by your Jira Administrator.

Hope this helps!

samantha.passardi
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 18, 2022

Project Category is already taken for other clustering activities

No way to solution

Thank you anyway

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events