Hi there,
I’ve been working on automating updates to Assets from Jira tickets, and I’m hoping someone can help with the setup.
Here’s how my Assets are structured:
Car
Wheel
SerialNumber
Producer
Last Updated
etc.
Currently, I have three custom fields:
One to select the Car
One to select the Wheel from that Car
A text field where the user enters some update information
What I’d like to do is create an automation rule where the text from the custom field is automatically written to one of the Wheel’s attributes (e.g., Last Updated) — ideally triggered when the text field is marked as completed
Is there a recommended way to set up this type of automation in Jira/Jira Product Discovery?
Thanks in advance!
Welcome to the community.
Here is a a KB article on options how to do this, this article is not based on a text fiedl , but on another type, but the solution would be the same
how-to-update-object-attribute-values-using-automation-in-jsm-assets
Hi @Marc - Devoteam And thak you for replaying to the thread.
Looking at the link you have sent, it seems like the Examples only show how to retrive some value from the assets (eg. amount of licenses). I might be completely new to this, but i thought i had to connect my custom text field to the other custom field (eg. customfield_10097) and then make a automation rule with triggers and stuff. I might have been a bit mislead by ChatGPT with all of this automation stuff, as it is not good for this...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This KB is a guideline.
You can use a text field and based on this value update an attribute on the wheel object.
Branch the rule on AQL, like key in {{issue.<name of the field where the wheel is selected>}}
Use the Edit Object action, specify the correct asset schema and choose the object to be updated.
Set the value of the object to a smart value {{issue.<name of the text field>}}, the attribute in the object, needs to be text as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried this as this seem like the closest i could get to something that makes sense:
If i have an object called OCB with an attribute "app version" can i then do it this way?
(EDIT: i am still a bit confused about how i this works exactly )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you could
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.