Forums

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

How to populate custom field from asset object in data center?

Ulf Johansson
Contributor
October 18, 2023

Hi community!
Do anyone have a soultion how to populate custom field from asset object in data center?
My use case is to populate assigne with user from asset object.
For JiraCloud it's possible ref How to copy from/to Asset field value to/from Jira text custom field using automation for Assets | Jira | Atlassian Documentation

1 answer

1 accepted

0 votes
Answer accepted
Manoj Gangwar
Community Champion
October 18, 2023

Hi @Ulf Johansson , 

First, you have to create an object field and then configure it with the assest scheme and field value. After that to copy the field value in text field. 

You can use the below expression in the automation rule for text field. 

{{issue.customfield_xxxx.summary}}

Then it will copy the asset field value to text field. 

Ulf Johansson
Contributor
October 18, 2023

@Manoj Gangwar Thanks for answer, but I realized I was a bit unclear. So I have change my description.

My uses case is: 
We have an issue in X project where we have a user in a custom field of type asset object.
This issue will be "copied by automations to project Y and here we wish to set assigne with value from user in the custom field of type asset object.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.10.2
TAGS
AUG Leaders

Atlassian Community Events