Field Type of Issues

I retrieved all the fields from JIRA through the REST API http://example.com:8080/jira/rest/api/2/field ....            

But when i looked at its data type , i am a bit confused ..... The default field "Priority" is of data type List , ie a select list with multiple options , but hen i looked at the JSON for the REST API , it showing that the type is "Priority" ...... Not only this when i create a custom attribute say "Severity"  with select list as its data type , i am getting "String"  as its data type when i retrieve ..... Any idea on how to retrieve the exact data type ??

1 answer

1 accepted

1 vote

The type in the metadata depends on how the field announces itself in the code, and there's no real way to know what type a field really is - if custom field selects say they're a string, that's it, you won't know any more about them

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 Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

708 views 6 13
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