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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

585 views 25 15
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