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?
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.
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.
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.