Hi ,
I want to generate a weekly report of closed issues and send this project managers. I have successfully drafted HMTL context. Now, I want to include total number of issue close = count().
HTML code
Total number of issues closed this week = <count>
<h1>Weekly Report - CDCR </h1>
< var count =
<table border="1">
<tr>
<th>Key</th>
<th>IssueType</th>
<th>Summary</th>
<th>Status</th>
</tr>
{{#lookupIssues}}
<tr>
<td><a href="{{url}}">{{Key}}</a></td>
<td>{{issueType.name}}</td>
<td>{{summary}}</td>
<td>{{status.name}}</td>
</tr>
{{/}}
Hi @Teja
Does your Lookup Issues result contain all of the issues? If so, please try using the size list function, perhaps with a default value of 0:
{{lookupIssues.size|0}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#list.size
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.