Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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)}};
"Fail";
"Pass")))

 

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
www.almworks.com
support@almworks.com

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
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

122 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you