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,456,970
Community Members
 
Community Events
176
Community Groups

Insights: Automating assigning one object to another

I am using Jira insights in part as an asset register.

I have a list of user objects and asset objects created via an import from Microsoft Intune

I need to be able to automate the process of "assigning" the assets to the users

My current plan is to use data from the imported asset (the email address associated with the laptop/phone) and match it up to my user objects to set an attribute of the imported asset to contain the correct user object as a reference. 

the email addresses are configured to be Firstname.Lastname@mycompnay.com

the user objects are configured to be Firstname.Lastname

Is this possible?

What ways can I accomplish this if so?

1 answer

0 votes
Nader Youssef Community Leader Dec 12, 2022

Hi Sev!

The users in Jira cloud are a bit different than server. If you wish to import assets and assign them automatically to users you should use the user account ID instead of their names as pointed out in the import documentation. This is part of the data preparation for the import to work correctly. Then you will get a jira user assigned to each asset which you can link to the user object.

You can use this rest endpoint to fetch the account IDs of your users and then match the users with their respective email addresses.

Another way is to add the account IDs to the users object and then match it to each asset respectively. However, this way the auto assignment in issues will not work as you wish since the user object cannot be validated against a jira user when they wish to report an issue to their assigned asset objects.

I would recommend this guide for best practices on how to associate objects to Jira issues

Cheers!

Nader

Suggest an answer

Log in or Sign up to answer