Hi,
I created a multi select custom field MyComponents where the values are all the values in the components.
How can I use smart values and automation and copy the value of the component into MyComponent.
The following didn't work:
{ "fields": { "customfield_10272": { "value": "{{issue.components.name}}"} } }
Audit log posted:
TASK-450 (Specify the value for MyComponents in an array (MyComponents))
What am I doing wrong?
Thanks
Hi @Dd
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
With components, there can be zero-to-many values. Please use the array syntax for your JSON to copy those to a multiple-selection, option field: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-select-custom-field
Then you may try iterating the values to produce a dynamic JSON expression for the issue edit: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#Combined-function-examples
Kind regards,
Bill
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.