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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.