Looking to automate this weekly Slack update -
RELEASE X.123
Total Tickets >
160 Total Tickets
68 Bugs
81 Stories
5 Tasks
Completed Tickets >
9 tickets completed
Active Tickets >
145 in Active statuses
==================
I am trying to do this with Smart Objects and a Global Automation. I have this working so far -
@here - These are the new bugs, stories, or tasks --
{{lookupIssues.size}} - TOTAL TICKETS (Bug, Story, Task)
{{lookupIssues.Story Points.sum}}
{{#lookupIssues}}
{{/}}
===================
I am hoping there is a way to identify each issue type and list them out like we are doing manually above, but it had eluded me so far. Any ideas?
Hi @Bud Herz
If I understand your question correctly, and you anticipate more than 100 issues in any category, the Lookup Issues action would not work due to its call limits:
https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Lookup-issues
An alternative would be repeated calls to the REST API endpoint "Count issues using JQL" using the Send Web Request action, and storing the results in variables for reporting.
Kind regards,
Bill
Hi @Bill Sheboy
You raise a great point. Our current release for example has 160+ tickets and that smart object only returned 100.
Thanks for the tip. I'll check it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.