Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Count of Bugs on a Dash Board

Abid Rana January 10, 2023

I would like to populate BugCount field with the number of bugs reported against each feature. I understand that I can capture the bugs with a filter and save the filter. How do I display the count value  in the BugCount field?DashB.png

2 answers

2 accepted

0 votes
Answer accepted
sujit kumar January 11, 2023

Hi @Abid Rana ,

We can achieve this by writing the Automation within your project. You should have a Number field say "BugCount" created and associated to your feature screen.

1. Make a process that bugs should be linked with the respective feature for a relationship between the Feature and its Bugs.( Relationship should already be there as you mention you can pull the list of bugs for a feature using the filter - It maybe a field as well).

2. Based on the update in the Issue-link on feature/field identifier, trigger the automation.

3. Lookup all the Bugs linked to the feature using the lookup issues action.

4. Use the {{lookupIssues.size}} to update the BugCount on the ticket.

 

Thank you.

Abid Rana January 11, 2023

Thanks Sujit

0 votes
Answer accepted
Sreenivasaraju P
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2023

Hi @Abid Rana ,

You can try with calculated number field, which will calculate the number of bugs.

script runner and JMWE supports calculated number fields. 

https://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-listeners.html#_calculated_custom_field

Abid Rana January 11, 2023

Thanks Srinivas

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events