Find all custom fields created by an admin

Hi,

I am trying to clean up our JIRA projects and field mappings.

Right now we have fields that not required in every project showing up in every project.

On a per project basis, I want to look at how many fields are actually set in tickets.

If I want to only look at custom fields created by an admin (i.e. Ignore all system fields, and custom fields created by plugins) - is looking at the schema attribute in the /rest/api/2/field the right place?

Right now, I see that schema differentiates a system field from a custom field by using the 'system' and 'custom' key. So I can use this to ignore all fields that are marked as system.

I also see what seems to be a package name as the value of the custom key. So any field that isn't in the com.atlassian.jira.plugin.system.customfieldtypes package is probably created by and required by a plugin - so I will ignore those also.

Is this a safe bet? Of course, I will be careful when looking at the results - in case some plugin uses the com.atlassian.jira.plugin.system.customfieldtypes package...

Is there a better way to find the info I am looking for?

2 answers

1 accepted

Hi Alexey, 

I built upon your advice. 

While I knew my standard fields, I also installed plugins one at a time to see what fields they were creating. So thanks for that. 

1. some plugins are set up to use jira standart fields

2. Some plugins just provide possibility to create custom field - and those custom fields are created by admin actually.

I would recommend you to scan all non-system fields. If all fields by the same plugin are not needed - think about if you need that plugin at all. There is no generic solution on your problem - so after scan and the report you should deside what to delete.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

182 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you