-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Automation - Action - Approve/decline request
-
5
-
Minor
-
0
Issue Summary
When doing a list operation on the approvers list of a Jira Service Desk issue, the result is not what the user configured.
Example template code:
Steps to Reproduce
- Create a rule with Issue Create trigger
- Try to retrieve below smart values in Add comment action
<ul> {{#issue.customfield_10027.approvers}} <li> {{approver.displayName}} - {{approverDecision}} </li> {{/}} </ul>
Expected Results
Thomas - Approved
Anna - Pending
Actual Results
Thomas, Anna - Approved, Pending
Workaround
Steps: Follow the syntax below to iterate over approver list
<ul>
{{#issue.customfield_10003}}
{{#approvers}}
<li>
{{approver.displayName}} - {{approverDecision}}
</li>
{{/}}
{{/}}
</ul>
Reference documentation: Automation smart values
- mentioned in
-
Page Loading...