Forums

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

Filter by project key substring

Keith Tromans
Contributor
August 6, 2019

I know how to issue a JQA to filter by the project key e.g. if half the projects start with PROJ- and then end with different substrings e.g. colors e.g.: PROJ-red PROJ-blue, PROJ-green etc how can I filter for all keys starting with PROJ?

2 answers

1 accepted

0 votes
Answer accepted
Ilya Turov
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.
August 6, 2019

I guess it's impossible out of the box, maybe some plugins can do it, eg scriptrunner's projectMatch :

project in projectMatch("^Proj.*")

tho I feel like this particular one searches by project's name, not key

0 votes
Jack Nolddor _Sweet Bananas_
Atlassian Partner
August 6, 2019

You can also use JQL Booster Pack which is FREE (iḿ the lead developer)

See projectMatches() JQL function for further information.

But as well as the Script Runner one this only find by Project Name and not the key.

Kind Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events