I created a custom field that links to Jira Assets and then added that field to my Issue. I can't figure out how to update that field using Automation with a specific record in Jira Assets. It is not like other fields I can edit where it is free from or a drop down of values. Anyone have examples or a link on how to edit a Jira Assets field in an Issue (using an Automation job to edit the issue).
Hi @Alvin
Yes you can get this to work, please be aware though that if you have more than 1 asset assigned to a user, the automation will only grab the first one returned in the list. The automation works great if you plan on returning a single asset. However, if you wish to choose from a list of assets (laptop, monitor) and then monitor is asset being referred to in the ticket. You do need to click the drop down and manually select it.
As an example, I have a Site objectType setup.
The site name is the asset object and has an additional attribute for the user to link.
On the ticket there is a custom field for Site (I also have these setup for manager and Assets as well). I have configured the custom field, to Display the Name attribute which you can see above in this example is Brisbane.
In my automation, the action is to edit issue field.
Select the custom field you require, in this example Site.
The AQL I use is: Attribute = {{issue.reporter}} so in my example User = {{issue.reporter}}
If John.Doe@gmail.com has submitted the ticket, he will be the reporter. John.Doe is user linked to Brisbane asset object. So the custom field returns "Brisbane" and then the automation automatically updates this in the custom field on the ticket.
Kind regards,
Suzi
Thank you so much Suzi! This did the trick. I was 90% there already, it was all the screen shots you provided that helped me realize what i was missing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're very welcome Alvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.