I'm looking to list ALL of the assets assigned to a reporter in a single panel
Asked by TheClarinetGuy144:

I know how to list the assets assigned to the reporter as a drop down where the user can select one or many assets to attach to a ticket. However, I'm looking to see a list of all the assets assigned to the reporter without having to select them all. Something like a side panel of all of their assets. Is this possible? Trying to avoid having to jet out of JSM and go into assets to see all of there assets.

If there is a way to have a direct link to the individuals asset profile within JSM would also work.


Answers:
author: TheClarinetGuy144
body: This is how I want it to look without having to select anything:

![END RESULT.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/345289i91095C48D4F42869/image-size/large?v=v2&px=999 "END RESULT.jpg")


author: Lisa Forstberg
body: Hi [@TheClarinetGuy144](/t5/user/viewprofilepage/user-id/5375456) ,

Welcome to the community!

It seems like this is two requests in one

1. Upon creating a request the user should be able to choose an object that is connected to them

2. As an agent see all assets connected to the reporter without having to step over to Assets and search.

If you...

* have an object in Assets that represent the User (which has a Jira user attribute)
* establish relations between other objects and this User object.
* create Asset custom field for User + automation to populate it upon issue creation.

Then you can...

* filter the reporter connected assets in an asset custom field when they create the tickets
* allow the agent a "quick view" of that reporters connected assets from the issue view

In this example I limit it to "device" but so long as the reporter is via their user object is connected to any type of asset it can be visible in the asset field.

![image 5 - relevance for reporter.png](https://community.atlassian.com/t5/image/serverpage/image-id/345097i18B1D3437DD6C750/image-size/large?v=v2&px=999 "image 5 - relevance for reporter.png")

I wrote a couple of articles that have a similar use case. see

[How to use Assets and Jira SM for use case Reporting broken hardware](https://community.atlassian.com/t5/New-to-Jira-Service-Management/How-to-use-Assets-and-Jira-SM-for-use-case-Reporting-broken/ba-p/2787916)

[Using the location of a Jira user](https://community.atlassian.com/t5/New-to-Jira-Service-Management/Using-the-location-of-a-Jira-user/ba-p/2800717#M218)

The articles mention importer apps to Assets but that is only when you wish to sync data from an external source. The principle about automations and asset custom fields is the same.

best regards

Lisa

comments: author: TheClarinetGuy144
body: Sorry for the confusion.

I am able to list al of the assets for the users and they can select. However. However, I want to auto-list ALL of the assets WITHOUT having to select each one. See the example below. Is there an automation or something I need to include to populate this field so all assets are selected/listed?

![SCREEN.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/345278i4DAE9B55A6022F08/image-size/large?v=v2&px=999 "SCREEN.jpg")![FILED CONFIG.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/345279i742AEB39B24291CE/image-size/large?v=v2&px=999 "FILED CONFIG.jpg")


author: Tom Gross
body: -


author: Lisa Forstberg
body: Aha, you need an automation to fetch the objects automatically. It won't be fetched until after the issue is created though.

I would have tested:

**Trigger** = Issue creation

Conditions - I would have added some conditions to the automation

**Then** = Edit issue fieldsChoose your "User Assigned Asset" field and then apply AQL something like

```
?"Assigned User" = "{{reporter.displayName}}"
```

I would have limited the AQL to objectTypes of certain types, but I don't know how you structured your Schema.

Not sure I have done this before, I'd be curious to see if it can fetch all, or just fetch the first one.

good luck

/L


Tags: assets

cloud

jira-service-management

jira-service-management-cloud