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

How can I link Asset Objects automatically

Fabian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2024

Hello guys,

 

I am the IT Administrator of my company and new to Jira Assets.
In the future, I need to use Jira Assets for our IT Asset Management.
I have two problems:

  1. I imported our company’s Windows PCs with the Discovery Tool. In addition to that, I used the JSM Assets - Microsoft Entra ID Addon to import the users. Now, I want to create a link between the users and the computer objects. The computer objects have the attribute “Last User”, and the user object has the attribute “On Premises SAM Account Name”, which both contain the username. How can I create a reference for all users to the computer with the matching attribute?

  2. When a user creates an issue, I want to have an asset field in the Issue View that gets automatically filled with the Azure user of the issue creator. I think this should be possible with automation, but I have no idea how.

 

 

I would be very grateful if someone could explain to me how I can implement this.

1 answer

0 votes
Adolfo Casari
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.
July 17, 2024

1. Use a CSV import to update a reference field from User to Computer (type Object) that you need to add to the User object type in Assets. For the CSV download both objects to CSV and based on those 2 fields you mentioned make a new CSV where each row has the User Label and the label(s) of the computer(s) he has.

2. Create an Assets type customfield (i.e. User) and in that customfield configuration specify that the Jira user from the Assets User object equals the issue reporter. Note that you need to create an attribute of type Jira User and fill it with a CSV import using the username for each of your users.

Hope it helps.

Fabian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2024

Thanks for your answer. It would probably work the way you explained it, but i need to do this automatically for new users/PCs.

I don't want to manually create a CSV and import it, everytime a user is added or a user logs in to a new PC.

 

 

Alonzo Kennedy August 12, 2024

Hello @Fabian 

 

DId this work?

Suggest an answer

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

Atlassian Community Events