Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Export Custom Field usage report

Mohana Sundar J October 7, 2022

Hi All,

 

I would like to export a report on the usage of custom fields for audit purposes.

  • List of Projects (Project Name and Project Key) associated with the custom field
  • List of users in the Project Administrator role for the above list of projects

 

Any suggestions would be helpful. Thanks in advance :) 

 

 

 

1 answer

0 votes
Mark Segall
Community Champion
October 7, 2022

Hi @Mohana Sundar J and welcome to the community!

I'll defer to the scriptrunner gurus on whether there's a way to do this elegantly via that mechanism, but natively, you could do this (could be quite painful though depending upon how many issues you have in the system):

Perform a wide open search (I would look at the last 6 months to a year as a starting point to see what's being used recently):

created >= -365d

Use the Export CSV All Fields option.  Then in your Spreadsheet app of choice, create a pivot table broken down by custom field and project to get a count of how many issues are using each of the fields by project

Of course, the pain point is that you can only export 1k issues at a time so you may need to run through the export several times.

Mohana Sundar J October 7, 2022

Hello Mark,

 

Thank you for your suggestion. 

I already have a list of Custom fields for which I need the details.

  • List of Projects (Project Name and Project Key) associated with the custom field
  • List of users in the Project Administrator role for the above list of projects

So basically like:

 

Custom FieldProjectKeyProject Administrator 
Client NameProject 1P1User1, User2, User 3….. N 
 Project 2P2User1, User2, User 3….. N 
  
     
Client EmailProject 3P3User1, User2, User 3….. N 
 Project 4P4User1, User2, User 3….. N 
 Project 5P5User1, User2, User 3….. N 
  
Mark Segall
Community Champion
October 7, 2022

If the number of fields you're trying to review are manageable, you could create a dashboard with two-dimensional filters for each custom field measured against  project.  This will give you totals and then you can click on each total to get a detailed list of issues.

Otherwise, your best bet is still to export the result set to csv and create the report outside of Jira.

Mohana Sundar J October 11, 2022

Dear @Mark Segall Unfortunately, this couldn't meet my requirement. We have thousands of projects, so it would be difficult to fetch it this way. I really appreciate your time and effort and support :) 

Mark Segall
Community Champion
October 11, 2022

Based upon that, your best options are:

  • Get someone who is savvy with scripting to get this info via the API and either dump it in a database or csv
  • Use a 3rd party reporting tool like Tableau or EasyBI to pull the data
Like Mohana Sundar J likes this

Suggest an answer

Log in or Sign up to answer