Hello @Project Manager ,
Custom fields that count other elements are not a native function in Jira, so you would need to look to add-ons to accomplish this. Noting that even when using add-on apps the option to count in a fields is going to be a data point that is issue speciffic meaning the data point should live at the issue level (exist in a field on the issue already), but it sounds like you are looking for an option to count all issues in a project relating to JQL search criteria to populate a dynamic count representation intop a field which is something I am not sure would be possible.
I did a bit of looking and I think that ScriptRunner may be able to do a portion of what you are looking for where a relationship exists between two issues (Issue > Sub-task) with something similar to the following scripted listener in the tools documentation:
Alternatively getting counts of items seems like something that might be better suited for a report or a dashboard gadget as there are multiple options taking this route.
You could create a custom report using a free add-on for Google sheets "Jira Cloud for Google Sheets" , and do the summations of the data in a standalone report, giving you a lot of options reporting wise.
Using a dashboard with something like the "Issue Statistics" gadget and Status set for the Statistic Type sort by total and this will give you a break down of the count on each status in the project as well as the percentage of issues in that status.
Regards,
Earl
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.