I'm doing a trial of Profields to try and get a better handle on project usage reporting in Jira. My boss has given me a a list of metrics he would like to see. They almost all seem to be counting how many issues are returned by a JQL search.
I've done some poking around on here and on the deiser site and haven't found much that I can use. I don't really understand Groovy so everything is guess and try.
Basically, is there a way to create a scripted field that takes JQL and the project and returns how many issues are returned by the JQL for that project? That way I could (hopefully) use a similar script for each scripted field and just switch out the JQL that returns the issues.
For reference, here are the metrics he has requested:
I'm Fede Baronti from DEISER's Customer support. We are really glad that you are trialing Profields and hope it meets your and your company's needs.
Now, regarding your question, there is a way of creating scripts with JQL. Here you can find a page form Profields' documentation where we explain a few script examples and how to create them: https://confluence.deiser.com/display/PROFIELDS/.Script+Examples+v7.0.0
The first one: "Number of blocking bugs in QA" can be of help as it uses a JQL in order to retrieve that information.
Hope this helps.
Also, keep in mind that we would be really happy to assist you in any further concerns you might have about Profields. You can open a Support Request right here: https://jira.deiser.com/plugins/servlet/desk/portal/1
In addition to @Fede -DEISER-'s suggestion, there might be a simpler way of building this reports without scripting.
You can also use project functions in JQLs to return the lists of the issues that you mention. Have a look at the 4th point in this link.
The examples are different, but I think instead of using other project fields you can simply grab the project ID to return all the issues in that project, you can then narrow down the JQL by creation date.
For the average age you will need scripting.
The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...
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