Forums

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

JQL how to exclude projects starting with a certain string?

Philippe Vlaemminck February 22, 2023

Dears,

I have a simple question :

all our Internal projects start with [INT] in the project name.
for example '[INT] Redesign office'

I want to run a JQL with all issues from non-internal projects. That is : exclude all the projects starting with [INT]. (alternative : all projects that contain the string "[INT]".

It looks like the * wildcard doesn't work for projects....
My best guess was  :

project != "^[INT]*"

but no juck with that.

3 answers

1 vote
Bill Sheboy
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.
February 22, 2023

Hi @Philippe Vlaemminck 

The challenge you describe is the result of storing multiple pieces of information in a single field: a project classification and a project name.

Perhaps consider using the project category feature, to classify the projects, and then JQL could help search on the categories: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-fields/#Category

This would require some initial work to set the category values before querying.

Kind regards,
Bill

1 vote
Trudy Claspill
Community Champion
February 22, 2023

Hello @Philippe Vlaemminck 

Unfortunately there is currently no support for searching for issues based on matching the project name. There is a change request for that here:

https://jira.atlassian.com/browse/JRACLOUD-43398

Conversely there is no support for searching for issues where the project name does not match.

0 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
September 12, 2023

Hi @Philippe Vlaemminck,

if you are open to solutions from the Atlassian Marketplace, this would now be easy to do using the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) issue hierarchies, issue grouping by any issue field(s), sum-ups, or conditional formatting - as well as the ability to perform text matching on all issue fields:

text-filtering-project-name.gif

JXL supports various logical operators like AND, OR, or NOT; for more sophisticated use cases, you can also use regular expressions.

Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.

Any questions just let me know,

Best,

Hannes 

Suggest an answer

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

Atlassian Community Events