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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,630
Community Members
 
Community Events
185
Community Groups

Automatically add an Assets attribute to a Service Desk (custom) context field?

Question:
I'm wondering if there is a way to add an attribute from the Assets configuration directly into a custom context field for an issue.

Summary:
I understand the process of adding Custom Fields based on Assets. I currently have one set up so users can select an affected asset associated to them when opening a request. However, I'm wondering if there is a way to automatically set a custom field's data without the need for the user to select it.

Details:
I have an Assets attribute that identifies a user's building location. I'm wondering if there is a way to pull that attribute data and add it directly to a request's details based on the associated user, without the need for them to select (or even see) the field in the request from. This would help us to know immediately where the user is physically located on our company campus based on that attribute already entered within Assets.

1 answer

1 vote
Suzi Firth
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.
Apr 10, 2023

Hi @Greg 

Yes you can do this, however you cannot do it from an attribute on an asset. The site actually needs to be its own asset for it to show as just the Site. The reason for this is that rather than just showing Brisbane, it will show as "Asset Name" and then in small text Brisbane. Like this:

John Doe

Brisbane

 

We've set it up like this. We have an Object Schema called Employees and in the Schema an Object Type called Site (or location if you will).

We then have an asset for each site name (i.e. Sydney, Brisbane, Melbourne). The asset has an attribute of User on it. The User/Employee/Reporter/Customer is then added to the Site and looks like this:

ice_screenshot_20230309-155616.png

You can then configure your automation to look at the Reporter of the ticket, and select the Site of which they are a user.

ice_screenshot_20230309-160056.png

 

This is the end result on your ticket field:ice_screenshot_20230309-160405.png

 

I have a full example of how this is configured including the Custom Field configuration on another post I've answered here:

https://community.atlassian.com/t5/Jira-Service-Management/how-do-i-update-an-Assets-objects-custom-field/qaq-p/2293384 

Suzi

Suzi Firth
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.
Apr 10, 2023

Another example of how to configure as well:

https://community.atlassian.com/t5/Jira-Service-Management/Asset-Custom-Field-Reporting-Manager/qaq-p/2282283 

I would also note, it's important to make a copy of your automation and set trigger to when the Reporter field is updated as this may also require the site information to be updated.

You should have one automation for when the ticket is created and another for if the reporter is updated.

Suggest an answer

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

Atlassian Community Events