I am trying to return the count of issue types in my release automation email ut everything I've tried so far returns empty. What am I missing for this to return a count?
{{#lookupIssues}}
{{/}}
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
I am not familiar with "issuesCountByType". Where did you see that smart value?
If you are trying to count the issues within the Lookup Issues for a specific Issue Type you may use a math expression and conditional filtering. For example:
{{#=}}0{{#lookupIssues}}{{#if(equals(issuetype.name,"Task"))}}+1{{/}}{{/}}{{/}}
That expression would count the Task issues in the lookup result, with a default count of 0.
Kind regards,
Bill
Thank you Bill. The expression and filtering is just what I needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use the lookupissue function with the size parameter. Use it with a jql that will retrieve all issue which have the version released.
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.