Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Project Metrics With ProFields

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

3 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: 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. 

Cheers!

Fede. 

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

1 vote
Answer accepted

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
TAGS
Community showcase
Published in Marketplace Apps & Integrations

How to log work and track time in Jira when a person is part of multiple teams

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

85 views 2 1
Read article

Community Events

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

Events near you