Hi,
I need to edit the issue custom field with the attribute value of the asset field.
Field to be updated is a custom field:
"Obszar IT i Bezpieczeństwa" customfield_10165
Value to be taken from asset type: "Usługa" asset Key: US-1091 from attribute: "Obszar usługi"
Could you help me to create such automatization, please?
I tried several options without possitive result e.g.
1. {{US-1091.obszar usługi.id}}
2. { "fields":{ "customfield_10165":[ { "id": "{{issue.US-1091.obszar usługi.id}}" } ] } }
Hello, can anybody help me t osolve this issue, please?
There must be "a simple" way how to insert into Custom field the value from the particular asset attribute.
Hello Walter :)
thank you for you prompt reply.
I'm sorry but the case you refer to is more complicated than I need thus still not sure how to proceed.
Could you explain, please?
Kind regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @johan.drabarek and welcome to the Community!
While you can copy an attribute from a assets object to another custom field, you can also display more attributes from the asset on your issue directly on the assets custom field itself.
Having said that, you should add a Lookup Objects action to your rule to find the object referred to on your issue. You should then be able to refer to the attributes of the returned object to add the desired value to your custom field.
Have a look at this related thread which has an elaborate discussion and examples on how to set this up.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure the referred case is more complex than you need, @johan.drabarek, but in short:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please see my settings:
Zagubienie/kradzież sprzętu - is my asset field which from I would like to take attibute: Obszar usługi
and put this valu into cf: Obszar IT i Bezpieczeństwa
but I get an error message:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just 2 things, @johan.drabarek:
If adding quotes still doesn't work, it might help to add a log action action to your rule, writing the value of {{issue.Zagubienie/kradzież sprzętu}} to the audit log, so it is clear what it returns.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Walter,
ad.1. This fixed the previous error in the audit log, but still there is an error saying: No objects found
ad.2. the field I'm trying to update is Custom Field: "Obszar IT i Bezpieczeństwa" customfield_10165
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.