Forums

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

How can I update many assets at once?

Antonia
Contributor
April 4, 2025

Hello, I have several objects with assets in them. Now I have built a rule, but it only becomes active when an asset is updated. How can I update all my affected assets at once without going into each one individually?

1 answer

1 vote
Marc - Devoteam
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.
April 4, 2025

HI @Antonia 

Are all assets having a combined identifier or do the use the same reference?

Based on aql branch we should be able to update multiple assets

Whenever you ask for help with an Automation Rule it will help us to help you if you provide:

1. what type of project is this (e.g., company-managed, team-managed, etc.), 

2. images that show your complete rule.

3. images showing the details of any relevant actions/conditions/branches.

4. images showing the Audit Log details for the rule execution.

5. Explain where the issue is.

 

Via schema import this can also be done.

Antonia
Contributor
April 4, 2025

I have several different automations. It is only important to know that they are running when an asset is updated. That's why I'm not going to post any screenshots of my 10 automations here.
For example, if there is an “N0” in the “Name” field, a “Device” must be entered in the “Tag” field.
The tag field is therefore new and must now be filled.

How do I update all assets so that the rules are triggered? The automations do work, but you just have to update the assets.

Marc - Devoteam
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.
April 4, 2025

Hi @Antonia 

Give me the outline, what is your action that needs to trigger the asset update?

Are you updating a field in an issue or are you updating an asset?

A rule triggers based if an action taken is the trigger, the rule then executes.

You can enable a checkbox in the rule settings that the rule can be triggered by another rule

Antonia
Contributor
April 4, 2025

Hi @Marc - Devoteam

thank you for your quick response.

The action is simple: when an asset is updated (anywhere), the system looks at what is in field A and then writes something specific in field B. The asset simply has to update itself. I'm not talking about the issues here, just the assets. I'm looking for something like a bulk update. So the Trigger is: "When: Object updated"

Marc - Devoteam
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.
April 4, 2025

Hi @Antonia 

The object update trigger is based on a schema chosen.

Then you need to specify which attribute or attributes need to be updated.

What doc you mean with all affected assets?

If you update a single object then the rule triggers and starts and updates an objects attributes based on the given update.

If you want to go over multiple assets that need to have the same update, you need to branch in the rule.

Provide one rule as example and what you want it to do and what it's doing now

Antonia
Contributor
April 4, 2025

There are 2 object schemas that are affected. There are trees in these object schemas. One tree is affected per object schema. As a rule, I have said which attributes are affected. Several fields are affected.
Example:
If the name in the “Device” field begins with “N0”, then enter “Device” in the tag field.
or
If there is a job title in the “Job Title” field, then enter “Person” in the “Tag” field.
We have these rules to better filter our assets.


But we have written these rules retrospectively, which means that we have to update all assets with these fields so that the rule is activated and the fields are filled.
So how do I update all objects so that these rules are activated, the objects simply all have to be updated. As I said before I am looking for a bulk update.

Marc - Devoteam
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.
April 4, 2025

Hi @Antonia 

You can tell me the same example, but where and what is the Device field and tag field, are theses attributes on an assets object?

I suspect they are.

You can bulk update object attributes in an assets scheme.

I just don't know how the automation will act on this action.

https://support.atlassian.com/jira/kb/how-to-bulk-update-assets-select-type-attribute-values-in-assets/ 

Antonia
Contributor
April 4, 2025

Yes, they are attributes on an assets object. I have also seen this page. But I don't have this bulk function. Which view is it in? Do I have to go into my object for this? I have 2 times three dots there, but there is nothing about bulk anywhere

Antonia
Contributor
April 4, 2025

Hi, I found the 3 dots with the Bulk action, but it doesnt work. I added a new field and I told the BulkAction that something should be written in the field, but apparently that doesn't count as an update

 

Edit: I think it works now, it was just loading a bit longer than usual. And it doesnt look like the website u sent me, but thanks!!

Marc - Devoteam
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.
April 4, 2025

Hi @Antonia 

Does it show as an update in the object activity?

Then the rule should trigger.

Asset rules can take some time to trigger.

You can raise an issue at Atlassian for this.

I also asked other community members and people in the Atlassian world.

Their reply: "You have to create an automation that does it. Basically iterate through JQL results in a branch of the automation."

Antonia
Contributor
April 4, 2025

Hi  @Marc - Devoteam

thank you very much, I think it works now. It was loading a bit longer than usual. Also I dont know where I can see the object acitivity

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events