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
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.