Forums

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

How to search for issues by Asset

Tom Lister
Community Champion
September 2, 2023

Is there a JQL syntax for searching for issues by Asset value.

I want run a JQL in an automation rule to find all issues with the same value for an Asset field as the triggering issue.

I've tried

Site = {{issue.Site}} 

But I'm not getting any results. There a several issues that should match.

What would the syntax be in the issue navigator search?

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
September 3, 2023

Hi! 

1. I hope you exposed the custom field which linked to the ticket. let's imagine field name is "Asset" with following type and you have configured, 

2. After you can find all non-empty ticket via 'Asset is not empty'

3. if you want to find exact asset you double check through asset key the query. 

As result, you will have a query like

Asset = DIR-123123

 

 

Other option is aqlFunction:

https://support.atlassian.com/jira-service-management-cloud/docs/assets-jql-functions/

Suggest an answer

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

Atlassian Community Events