Hi, I'm trying to set a workaround to a Jira asset bug. The "Linked assets" field it's not displayed into any service desk queue.
I'm trying to create an automation that will transfer the Linked Asset value to a new custom field, short text type.
At the moment it's raising an error requiring a string value to complete the operation.
I can't find any function to convert a field into a string.
Here's what I'm trying to do:
Hi @Luca Alotto -- Welcome to the Atlassian Community!
First thing: is that custom field you are editing with the JSON the same as "CS - Linked Asset - Reference"? If so, you only want to edit the field in one place, so remove one of those...probably the JSON expression.
Next, what value are you trying to put into the field? And have you tried just setting that source field's smart value to the custom field, as in this example: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Text-custom-field
Kind regards,
Bill
I'm using "Asset Management for Jira" app. It works by adding a new custom field (customfield_10067) where the issue linked asset is set.
*10067 it's an asset type field and advance field type.
Due to a bug, this field doesn't show its value in queue. I created a short text field customfield_10199 that should receive the value from *10067.
I'm using the code above but it seems Jira it's not converting *10067 into a string that *10199 can receive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.