Forums

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

Automation AQL Regular Expressions

Dustin Alcock
Contributor
January 22, 2024

Hi All.

Attempting to use a regular expression within AQL for automation but nothing's working. Is it even possible? To simplify testing, I'm trying the AQL directly in Assets by using the AQL filter on the listing. Trying to simplify from writing a ton of OR statements.

Goal: Find all Objects that the Application Name starts with 0-9

I've tried many, here are a couple though that didn't work:

  • objectSchema = "Software Catalog" AND "Application Name" STARTSWITH "/^[cr][0-9a-z]*$/i"
  • objectSchema = "Software Catalog" AND "Application Name" StartsWith "^[0-9]"

WORKS (non-expression):

  • objectSchema = "Software Catalog" AND "Application Name" StartsWith "1"

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, opsgenie migration, jira service management, incident response, on‑call management, alerting tools, migration guide, devops operations, service reliability, atlassian learning, migration best practices, opsgenie support, IT operations

Join the Opsgenie Migration group 🚚

Heads up! Opsgenie's features are moving to Jira Service Management and Compass. Planning your migration? Join our dedicated group for resources and tips from Atlassian and the Community to ensure a smooth transition.

Check it out ↗
AUG Leaders

Atlassian Community Events