I am looking for a solution to per-populate Asset information in a jira service desk ticket when a user raise a incident request. Right now we have Lansweeper as a asset management system in our organization .
Is it possible to import asset information into Jira ticket based on the user name (reporter).
For ex: (If myself (reporter) raise a request (issue type incident )about any hardware and software issue, incident ticket get information from Lansweerper and per fill all reporter asset details in jira custom filed. if a computer is reported for having a problem, we would like to see its IP, owner, asset name, location etc. which would be imported automatically from Lansweeper.
We do have scriptrunner and we can use post function on create transition to pull data from external database (SQL) , but I didn't find any script example for similar requirements.
Hi Prerna,
You cannot use a post function to pre-populate fields on the create screen, because at that time the post function hasn't been activated yet.
The only solution that I can think of right now (and which we are using for our customers with that use case) is syncing the assets with all their information from the external DB into a separate asset management project in Jira (with Database Sync). Then you can link the reporters to their assets, so in the service desk, they will only be able to select their own assets. All the assets' information will automatically be available through the link to the assets in Jira. To realize these asset-reporter relations and visualize the asset information we are using Assets - Advanced Links.
Best regards,
Daniel
STAGIL
Hi Daniel,
Thanks for the reply!
Just to be a bit more clear, we don't want pre-populate fields on the create screen.
We only want data on the view screen after a ticket is already created, in that situation post function should work. please correct me I am wrong.
I did find your (with Database Sync) solution helpful, but it includes buying new plugins and we already have quite a few 3rd party plugins in our environment. At this stage, I am trying to find a solution that does require work with one of (Scriptrunner adaptavist ) or JSU.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, in this case, you could use a post-function.
Maybe someone else here can help you with this uses case using Scriptrunner or you ask the vendor directly by creating a support ticket (Scriptrunner Service Desk).
Just one more thought: You should also compare the costs of an add-on to the costs of scripting your own solution (and maintaining it).
Best,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.