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 vote
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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

561 views 1 18
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