Hi,
I have a JSM Cloud project with the following setup:
Assets object schema — Squads and Divisions:
- Object
xx-123: managers = user1 - Object
xx-456: managers = user2 - The
managers attribute type is User
Issue setup:
- Custom Assets field Squads and Divisions (
customfield_14135) — links to one of the above objects
Goal: When an issue transitions status → read the Managers User attribute from the linked Assets object in customfield_14135 → set that user as Approvers on the issue.
What I tried in Edit Issue action (Approvers field):
<span>{{issue.customfield_14135.managers}} <br></span><span>{{issue.customfield_14135[0].managers}}<br></span><span>{{issue.customfield_14135.object.managers}}</span>Added a debug comment:
<span>{{issue.customfield_14135}}</span>All return empty. The rule runs successfully with no errors, but Approvers stays empty and the debug comment is blank.
What is the correct way to read a User-type attribute from an Assets object linked via a custom Assets field, and use it to populate the Approvers field in an automation rule?
Thanks in advance!