How can I kow if the name of the security level of an issue starts with "ga"?

I need to launch a jql to kow the list of issues which security level has the name starting with "ga".

 I have tried with this jql but it returns 0 issues and I know that it's not true:

 

project=ENT AND "Contrato ficticio" IS EMPTY and status not in (Closed) and issueFunction in issueFieldMatch("","level", "ga*")

 

What is wrong?

3 answers

This widget could not be displayed.

Could you try with the following wildcard level = "ga*"

This widget could not be displayed.

That issueFieldMatch just checks the value as stored in the index, which will be the numeric ID of the security level.

Short of writing your own function that would return all security levels matching some reg exp, I don't know how to do this.

BTW, if this actually worked, you'd be much better off writing this as:

issueFunction in issueFieldMatch('project=ENT AND "Contrato ficticio" IS EMPTY and status not in (Closed)',"level", "ga*")

Using the first parameter (filter query) would make it much faster.

This widget could not be displayed.

I have tried project=ent and "Contrato ficticio" is EMPTY and status not in (Closed)  and level="ga*" but it doesn't works.

I have also tried issueFunction in issueFieldMatch('project=ENT AND "Contrato ficticio" IS EMPTY and status not in (Closed)',"level", "ga*")

No one works.

But if I write project=ENT AND "Contrato ficticio" IS EMPTY and status not in (Closed) and level=ga_212 then, several issues are recovered....

 

 

 

 

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

509 views 3 18
Read article

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