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

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

TheClarinetGuy144 August 30, 2024

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.

 

 

2 answers

0 votes
TheClarinetGuy144 September 3, 2024

This is how I want it to look without having to select anything:

END RESULT.jpg

0 votes
Lisa Forstberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2024

Hi @TheClarinetGuy144 ,

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

 

 

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 

Using the location of a Jira user 

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

 

 

 

TheClarinetGuy144 September 3, 2024

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.jpgFILED CONFIG.jpg

Like Lisa Forstberg likes this
Tom Gross September 3, 2024

-

Lisa Forstberg
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2024

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

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events