Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Project Metrics With ProFields

Deleted user Jan 26, 2021

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:

  • How many issues were created in a project in the past 30 days
  • How many issues were closed in a project in the past 30 days
  • How many issues were created in a project this year
  • How many issues were created in a project last year
  • Average age of currently open tickets (This one seems complicated and we can live without it)
  • Number of currently open tickets
    • (this one is given as an example by deiser and works well)


2 answers

2 accepted

4 votes
Answer accepted

Hi Ben, 

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:

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:

1 vote
Answer accepted
Capi _resolution_ Marketplace Partner Jan 26, 2021

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

117 views 0 9
Read article

Atlassian Community Events