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
Switch to Jira Cloud with Atlassian University! Explore new navigation, issue views, and Cloud features like team-managed projects and automation. Tailored for Data Center users & admins, these courses ensure a smooth transition. Start your journey today!
Enroll now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.