Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Question with the Count {} forumla

Lets say i wanted to count the number of times a formula created a specific output

custom formula :

if (issuetype = "task" and assignee = undefined"; "missing assignee")

then the count formula would be;

if(issuetype = "feature";

if(count{customformula = "missing assignee"}>0;"Missing Assignee")

but its not working, any help greatly appreciated

3 answers

1 accepted

0 votes
Answer accepted

Thanks for your answers but i have fixed the issue with trial and error

if(  issuetype = "task";
if(  labels = undefined and  assignee = undefined;
"Missing Labels & Assignee";
 labels = undefined;
"Missing Labels";
 assignee = undefined;
"Missing Assignee");
if(  issuetype = "feature";
if( sum{count{if ( taskcheck != undefined;1)}};


then the variable taskcheck;

if(  issuetype = "task";
if(  labels = undefined and  assignee = undefined;
"Missing Labels & Assignee";  labels = undefined;
"Missing Labels";   = undefined; "Missing Assignee")) 

Now all stays in a single column but works on the level that is needed 

0 votes

Hello Ian,

David from ALM Works here. 

Based on what you have described, I believe this will help:

If(customformula = "missing assignee",1)

Then select the "Sum over sub-items" option

This will convert the results from your first formula into a number and then the Sum will be calculated at the "parent" levels of the hierarchy.

Please let me know if this helps!

Best Regards,
David Niro

0 votes
John Funk Community Leader Sep 20, 2021

Hi Ian - Welcome to the Atlassian Community!

I am a little confused - formuals/filters don't create outputs. They simply show details about your issues. It is things that trigger an event like updating an issue or transitioning an issue that creates output. 

Can you describe the exact scenario of what you are wanting to capture? 

I am trying to respond but it will not let me due to "posting the same thing elsewhere" which i have not done.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events