New FieldTypes in API causing problems

We recently started having trouble parsing new FieldTypes that appeared this weekend. We are seeing "any" and "option" for the first time in the field type schema.

Is there an explanation on why we are seeing these types of fields all the sudden? Were some custom fields switched to these new types? Is there a way for us to put them back to their previous types?

It looks like the Rank fields have the new type of "any". And one of our version fields has a type of "option". Unfortunately we parse these string values and if it fails it crashes our program, we are working on a more graceful failure.

Here is a list of known field types we have, please let us know which ones are missing and what they mean:

STRING(),
NUMBER(),
COMPONENT(),
DATE(),
DATETIME(),
EPOCHDATETIME(),
USER(),
GROUP(),
PROJECT(),
ISSUETYPE(),
VERSION(),
RESOLUTION(),
STATUS(),
PRIORITY(),
TIMETRACKING(),
VOTES(),
ARRAY(),
SECURITYLEVEL();

 

Thank you,

Nathan

1 answer

1 vote
Marek Pazik Atlassian Team Nov 25, 2015

Hi Nathan,

Here is the list of all types used in JIRA:

string
number
date
datetime
comments-page
- a page with comments
array - if type is array, you will see item type in items field in field schema
option - used in select and multi select fields
option-with-child - used by CascadingSelect fields
any - means JIRA doesn't know what the schema of field value is. But if something was being returned previously, then it is still returned in the same form. So each field type with that any type has to be supported individually.
resolution
user
group
version
votes
watches
component
attachment
issuelinks
priority
status
project
issuetype
securitylevel
worklog
timetracking 

Hover JIRA's plugins can define own set of types for fields.
Let me know it that helps or if you need more detailed information.

Regards,
Marek 

 

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 5 hours ago 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...

71 views 4 4
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