filter projects with name that includes string

Hi,

Is there a way to create a filter that will find all the projects that have a specific string in their name ?

For example get all the projects with "ABC" in the name.

I don't want to use project in (...) since this way have to know in advance all the projects names.

I'm looking for something like ABC* or ABC%

Thanks,

Alon

2 answers

1 vote

You can use projectMatch function from the script runner plugin.

project in projectMatch("ABC.*")

I tried it but got the following message:

"Unable to find JQL function 'projectMatch(ABC.*)'."

I'm using Jira version 5.0.7 and

groovyrunner

2.0.7

All the functions look very useful.

Thanks,

Alon


You need to install the latest version, from 2.1-BETA-X... if you have jira 5.0 or prior you can't update to this plugin version.

This is not supported in JIRA out of the box.

The "~" Operator doesn't work in conjunction with "project":

See https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-PerformingTextSearches

Cheers, Philipp

I know that, this is why I'm looking for a different solution.

Thanks,

Alon

Hi Alon,

Please vote for JRACLOUD-61197 and JRASERVER-61197 and add your use case to the comments to add impact if you have not done so already so we can get this implemented in JIRA.


In addition, were you able to try the suggestion from Jamie to use ScriptRunner?

Cheers,

Branden

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot