Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Assets - filter by attributes of object

Dylon Robinson January 18, 2023

Hello community,

I am starting to configure the Asset management inside of Jira. I need help filtering my custom field to not only show objectTypes, but to only show based on the issue attribute of "Location" 

So for a new employee at X location, I only want to see devices from my custom field for that specific location.

Things I've tried:

Filter issue scope (AQL): location = {{issue.location}}

Filter issue scope (AQL): location = {{customfield_XXXXX}}

Filter issue scope (AQL): location = ${customfield_XXXXX.label}

I have had no luck getting this to work properly. As I am not sure what to reference for the objects attribute "Location" that I have set. 

I want my custom field to show only objects from X location that is a smart value from my Jira issue.

1 answer

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2023

Hi @Dylon Robinson,

Welcome to Atlassian Community!

The filter scope needs the custom field as a variable, so your scope should look like this:

location = ${customfield_XXXXX}

Have a look at the announcement for filter scope here. 

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2023

Here is an example that I am using for peripheral requests, which only shows peripherals based on what the user select as location (cf_11190).

Screenshot 2023-01-18 at 2.37.57 PM.png

Like Guillaume PELETTE likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events