Field code
%{issue.components}
Field code
issue?.components?.map(c => c.name)
Components are stored in lists. Documentation on how to work with lists can be found here.
You can access the whole component by issue.components[0]
which returns an object.
Read
To write this field, use Component/s ID.