Currently I'm trying to create an automated email that provides information overview regarding open issues. I've created a {{lookupIssue}} to filter the tickets. The lookup filter works and im able to display info from fields such as "summary, assignee, reporter.name, status.name" however, {{priority.name}} doesn't return a value.
<table>
{{#lookupIssues}}
<tr>
<td>
<p>{{created}}</p>
</td>
<td>
<p>{{status.name}}</p>
</td>
<td>
<p>{{priority.name}}</p>
</td>
</tr>
{{/}}
</table>
Welcome to the community.
((priority.name}} smart value syntax is correct.
You can use the command below to determine if priority is there for your lookup issues in question.
https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names
Hope this also helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Thanks for the response Joseph. I figured out what the cause was. I had a on "issue update" trigger which would then start a "lookupIssues+JQL" action. I've replaced this with the "Scheduled+JQL" trigger. this now allows me to access custom fields within each issue.
On side note, for Linked Issues ( tag - {{issuelinks}} ). should I able to loop through them with the following?
<ul>
{{issuelinks}}
<li>{{outwardIssue}}</li>
{{/}}
</ul>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've got a similar automation where the Send Email component looks like this:
<ul>
{{#lookupIssues}}
<li>
<a href="{{url}}">{{key}}</a> - {{Summary}} - <b>
{{priority.name}}
({{Reporter.Displayname}})</b>
</li>
{{/}}
</ul>
And works fine ... showing the priority name in the sent email body.
Cheers,
Esteban
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.