The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer Asset Value to issue field

Philipp Wieseckel
Contributor
April 25, 2023

I would like to transfer a value from Assets "Customer Information" (that is displayed in the Ticket) to one of the Custom fields in the Ticket.

I could not figure out how to do this with an automation.

Can someone please help?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Mickaël ORSOLINO
Contributor
April 25, 2023

Hello @Philipp Wieseckel ,

First, you will need to use a global automation.

On the global automation, after the trigger, you will need to do a new branch called For AQL.

It will allow you to filter on your object selected during the issue creation for exemple.

The for AQL will be something like:

objecttype = "YourObject" and Name = {{issue.customfield_TheID.label}}

After that you will need to do a new action call edit field.

You will select your field and do a smart value like that:

{{Object."Customer Information"}}

I will take the value of this attribute of insight.

If it's a multiple select attribute, it will not work like that (the edit value). I am waiting an answer in this subject.

The automation rule will look like as below.

Screenshot 2023-04-25 at 18.07.34.png

After rule creation, you can change the scope to the concerned project.

Regards,

Mickaël

Philipp Wieseckel
Contributor
April 26, 2023

Hey Mickaël,

thanks for the fast answer!

How do i determine which objecttype and customfield i need to select?

Mickaël ORSOLINO
Contributor
April 26, 2023

Hi @Philipp Wieseckel ,

The customfield ID is the asset field you have created.

For the objecttype, this is the asset object you have created. so objecttype = "name of the object created".

This is aql.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events