I am trying to get the total number of tickets for each status in Jira. but the output keeps giving me 1 or 0. So I write a jql to get all the jira ticket types. example below
Trigger is schedule
then action is lookup issues using this jql: project = "Fake" AND type IN ("Fake1", "fake1 Subtask") AND status IN ("New", "In progress", "Follow up", "Update", "second Followup") ORDER BY created DESC
and then send email with this
- Total tickets in "In Progress": {{lookupIssues.size for status "In Progress"}}
- Total tickets in "New": {{lookupIssues.size for status "New"}}
- Total tickets in "Follow up": {{lookupIssues.size for status "Follow up"}} etc
Output is below
- Total tickets in "In Progress": 0
- Total tickets in "New": 0
- Total tickets in "Follow up": 0
- Total tickets in "Update"": 0
- Total tickets in "Second Follow up": 0
Please can you assist this. the expected output should look like below
- Total tickets in "In Progress": 20
- Total tickets in "New": 6
- Total tickets in "Follow up": 5
- Total tickets in "Update"":30
- Total tickets in "Second Follow up": 55