Hi there,
Here is the scenario. For new hires I want to be able to go to a form and select their name from an 'Assets' custom field.
I also have a custom field for hardware assets with a status of 'In Stock' and it is set to accept multiple values.
What I want to do is select a name of the person, in the second field select all their assets they are going to be assigned and then edit the owner field for all those assets with the value from the Owner field.
Can I update via automation multiple objects in Assets (the owner) if they are selected in a single field?
Thanks
@Ste404 -
Hi Steven:
Yes, it should be possible with automation rule setup using smart values. Please take a look at the following reference page for smart value for Assets -
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/
Here are other KB articles of using automation rule to update Assets -
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
I have this automation in place which I thought would do the trick.
The 'AssetKey' is the customfield holding the various assets that were selected.
So I assumed that I could use the For each: to loop through each asset from the first field and update it with the owner that was selected in the second field.
It updates the first one fine, then skips all the rest, so it loops only once and I am not sure why as it lists correctly the other items it is skipping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ste404 -
Hi Steven:
I believe you will need to utilize some type of smart value for Lists in the For each condition and then update the Asset objects accordingly.
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/
I have never done this before. In addition, since your subscription is Preimum, I would also recommend you to reach out to Atlassian Support for additional tips (https://support.atlassian.com).
Hope this helps. Sorry.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks I'll keep looking. Weirdly, even though it errors out saying it is skipping the assets other than the first one it is actually updating in Assets but the objects it updates breaks somehow and they can't be edited.
Will see what I can see.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.