Forums

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

Need to map Asset object type value to custom field using automation.

Mohammed Haneefa Farook
Contributor
July 5, 2023

Hi,

Currently I am having list of asset value and viewing the value in a field configuration Item. When I select a Configuration item and save the Incident issue, I need to get the selected Configuration Item object attribute Values and set the attribute value to a separate custom field while saving the incident through Automation rule.

Example : I am having one asset object named "Test" and object attribute like location and category. When I select asset object "Test" and save incident in automation rule I need to get the asset object attribute location, category, set to relevant custom field and need to view the asset object attributes in expected custom field in edit incident view.

Is the above mentioned requirement possible in Jira service management using automation??

6 answers

0 votes
TomaszJ July 10, 2023

What about objectAttribute? What does the audit log say?

0 votes
Mohammed Haneefa Farook
Contributor
July 10, 2023

Hi,

I also implemented without value but then also I am getting the field as empty.

Automation.PNG

The above is the rule I used. Any solution plss ??

0 votes
TomaszJ July 10, 2023

Hi,

You don't need the "value:" at the beginning, only what is in within curly brackets.
Replace objectAttribute with an actual attribute name.

0 votes
Mohammed Haneefa Farook
Contributor
July 10, 2023

Hi,

I also tried with {{object.(Location)}} where Location is the attribute name. Is there any way to satisfy the above requirement ??

0 votes
Mohammed Haneefa Farook
Contributor
July 10, 2023

Hi,

I have implemented your solution but its not working.Auto.PNG

The above Image is my automation. Any mistake in it ??

0 votes
TomaszJ July 6, 2023

Hi, check out this thread:

Solved: Copy Assets object attribute to issue custom field... (atlassian.com)

Trigger: field value changed (for Assets customfield)
Action: Edit issue fields (your customfield), value: {{issue.customfield_XXXXX.objectAttribute}}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events