Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Change asset object attribute when issue fieldvalue changes

Test User July 3, 2023

Hi there,

 

I have created different objects in Asset with different attributes.

One of my asset objects has the attribute "Status of order". I want this attribute to change from "In Process" to "active" when a certain issue field (Custom field) changes its value (also from "In Process" to "active").

I have set up an automation that monitors the custom field. If the field changes its value in the issue, the automation uses the action "Edit Assets field attributes". This accesses the corresponding asset field and gets the smart value "{{triggerissue.customfield_10065}}" as content for the attribute (i.e. my custom field).

This rule is also successfully executed. However, I ALWAYS get the message "No Objects associated to the Insight field". The corresponding attribute in Asset does NOT change its value.

What am I doing wrong? Or asked differently: Is it possible to change attributes of an Asset object at all, with the values from an Issue field?


Kind regards

1 answer

1 accepted

1 vote
Answer accepted
Markus Fredén
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2023

Hi "Test User" (Nice name :P),

In Jira Insight, it is possible to change attributes of an Asset object based on the values of an issue field. However, there are a few potential reasons why you may be encountering the issue where the attribute does not change:

1. Verify the Insight field configuration: Ensure that the Insight field you are using in the automation rule is correctly configured and associated with the Asset object that contains the "Status of order" attribute. Double-check that the Insight field is correctly linked to the attribute you want to modify.

2. Check the Automation rule conditions: Make sure that the automation rule is triggered only when the specific issue field (Custom field) changes its value from "In Process" to "active." Review the conditions of the automation rule to ensure they are correctly set up.

3. Confirm the field value format: Check that the value of the issue field (Custom field) matches the expected format of the attribute in the Asset object. If the formats do not match, the automation rule may not be able to update the attribute correctly.

4. Verify the object associations: Ensure that the Asset object you want to update is associated with the Insight field. If there are no objects associated with the Insight field, the automation rule will not be able to find the relevant Asset object to update.

Double-check these aspects to ensure that the Insight field, automation rule conditions, field value format, and object associations are correctly set up. By ensuring everything is configured properly, you should be able to update the attribute of the Asset object based on the value of the issue field.

/Markus

Test User July 5, 2023

Thanks @Markus Fredén ! Point 3 did it for me :) 

Like Markus Fredén likes this
Suketa November 16, 2023

HI everyone. 

i tried but it seems to increase the overall instance load, what other options do we have to perform this action pleas? either on trigger or in scheduled way ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events