How can I get a list of all JIRA fields?

Hi all,

I need to get a list of all JIRA fields, including systm and custom fields.

Actually, I have found a way to get a list of custom fields from database:

select ID,cfname from customfield;

but what about system fields? How can I do this?

 

Many thanks.

2 answers

0 votes
Joe Pitt Community Champion Nov 14, 2014

You can do it manually by looking the list of all fields in the field configuration and eliminating the custom ones.

Joe, you mean fieldconfiguration table? Tried to select all from this table but there is no "Affects Version/s", "Component/s" etc...

0 votes
Justin Burke Atlassian Team Jan 15, 2015

You can run this query to get a list of all your fields per field configuration:

select fl.Name as `FieldConfiguration` , f.*
from fieldlayoutitem f
inner join fieldlayout fl on fl.ID = f.fieldlayout;

 

This was written for MySQL, so if you have another DB, you may have to tweak the syntax a little

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,509 views 2 7
Join discussion

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