How to search for label across all projects using ScriptRunner

Matt October 2, 2019

I'm trying to use:

issueFieldMatch (subquery, fieldname, regexp)

to search *all* projects for labels that include a particular string.  This works if I set the subquery parameter to something like "project = foo", but how do I search for the fieldname and regexp across all projects?

Thanks.  

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
fran garcia gomera
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.
October 2, 2019

You can use something like "project is not EMPTY" or any other subquery that returns every single issue.

Be careful with the performance

TAGS
AUG Leaders

Atlassian Community Events