/** * The Jira Cloud platform REST API * Jira Cloud platform REST API documentation * * The version of the OpenAPI document: 1001.0.0-SNAPSHOT * Contact: ecosystem@atlassian.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CustomFieldDefinitionJsonBean */ export interface CustomFieldDefinitionJsonBean { /** * The searcher defines the way the field is searched in Jira. For example, *com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher*. The search UI (basic search and JQL search) will display different operations and values for the field, based on the field searcher. You must specify a searcher that is valid for the field type, as listed below (abbreviated values shown): * `cascadingselect`: `cascadingselectsearcher` * `datepicker`: `daterange` * `datetime`: `datetimerange` * `float`: `exactnumber` or `numberrange` * `grouppicker`: `grouppickersearcher` * `importid`: `exactnumber` or `numberrange` * `labels`: `labelsearcher` * `multicheckboxes`: `multiselectsearcher` * `multigrouppicker`: `multiselectsearcher` * `multiselect`: `multiselectsearcher` * `multiuserpicker`: `userpickergroupsearcher` * `multiversion`: `versionsearcher` * `project`: `projectsearcher` * `radiobuttons`: `multiselectsearcher` * `readonlyfield`: `textsearcher` * `select`: `multiselectsearcher` * `textarea`: `textsearcher` * `textfield`: `textsearcher` * `url`: `exacttextsearcher` * `userpicker`: `userpickergroupsearcher` * `version`: `versionsearcher` * @type {string} * @memberof CustomFieldDefinitionJsonBean */ searcherKey: CustomFieldDefinitionJsonBeanSearcherKeyEnum; /** * The name of the custom field, which is displayed in Jira. This is not the unique identifier. * @type {string} * @memberof CustomFieldDefinitionJsonBean */ name: string; /** * The description of the custom field, which is displayed in Jira. * @type {string} * @memberof CustomFieldDefinitionJsonBean */ description?: string; /** * The type of the custom field. For example, *com.atlassian.jira.plugin.system.customfieldtypes:grouppicker*. * `cascadingselect`: Allows multiple values to be selected using two select lists * `datepicker`: Stores a date using a picker control * `datetime`: Stores a date with a time component * `float`: Stores and validates a numeric (floating point) input * `grouppicker`: Stores a user group using a picker control * `importid`: A read-only field that stores the previous ID of the issue from the system that it was imported from * `labels`: Stores labels * `multicheckboxes`: Stores multiple values using checkboxes * `multigrouppicker`: Stores multiple user groups using a picker control * `multiselect`: Stores multiple values using a select list * `multiuserpicker`: Stores multiple users using a picker control * `multiversion`: Stores multiple versions from the versions available in a project using a picker control * `project`: Stores a project from a list of projects that the user is permitted to view * `radiobuttons`: Stores a value using radio buttons * `readonlyfield`: Stores a read-only text value, which can only be populated via the API * `select`: Stores a value from a configurable list of options * `textarea`: Stores a long text string using a multiline text area * `textfield`: Stores a text string using a single-line text box * `url`: Stores a URL * `userpicker`: Stores a user using a picker control * `version`: Stores a version using a picker control * @type {string} * @memberof CustomFieldDefinitionJsonBean */ type: CustomFieldDefinitionJsonBeanTypeEnum; } export declare function CustomFieldDefinitionJsonBeanFromJSON(json: any): CustomFieldDefinitionJsonBean; export declare function CustomFieldDefinitionJsonBeanFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldDefinitionJsonBean; export declare function CustomFieldDefinitionJsonBeanToJSON(value?: CustomFieldDefinitionJsonBean): any; /** * @export * @enum {string} */ export declare enum CustomFieldDefinitionJsonBeanSearcherKeyEnum { Cascadingselectsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselectsearcher", Daterange = "com.atlassian.jira.plugin.system.customfieldtypes:daterange", Datetimerange = "com.atlassian.jira.plugin.system.customfieldtypes:datetimerange", Exactnumber = "com.atlassian.jira.plugin.system.customfieldtypes:exactnumber", Exacttextsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:exacttextsearcher", Grouppickersearcher = "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher", Labelsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:labelsearcher", Multiselectsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:multiselectsearcher", Numberrange = "com.atlassian.jira.plugin.system.customfieldtypes:numberrange", Projectsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:projectsearcher", Textsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:textsearcher", Userpickergroupsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:userpickergroupsearcher", Versionsearcher = "com.atlassian.jira.plugin.system.customfieldtypes:versionsearcher" } /** * @export * @enum {string} */ export declare enum CustomFieldDefinitionJsonBeanTypeEnum { Cascadingselect = "com.atlassian.jira.plugin.system.customfieldtypes:cascadingselect", Datepicker = "com.atlassian.jira.plugin.system.customfieldtypes:datepicker", Datetime = "com.atlassian.jira.plugin.system.customfieldtypes:datetime", Float = "com.atlassian.jira.plugin.system.customfieldtypes:float", Grouppicker = "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker", Importid = "com.atlassian.jira.plugin.system.customfieldtypes:importid", Labels = "com.atlassian.jira.plugin.system.customfieldtypes:labels", Multicheckboxes = "com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes", Multigrouppicker = "com.atlassian.jira.plugin.system.customfieldtypes:multigrouppicker", Multiselect = "com.atlassian.jira.plugin.system.customfieldtypes:multiselect", Multiuserpicker = "com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker", Multiversion = "com.atlassian.jira.plugin.system.customfieldtypes:multiversion", Project = "com.atlassian.jira.plugin.system.customfieldtypes:project", Radiobuttons = "com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons", Readonlyfield = "com.atlassian.jira.plugin.system.customfieldtypes:readonlyfield", Select = "com.atlassian.jira.plugin.system.customfieldtypes:select", Textarea = "com.atlassian.jira.plugin.system.customfieldtypes:textarea", Textfield = "com.atlassian.jira.plugin.system.customfieldtypes:textfield", Url = "com.atlassian.jira.plugin.system.customfieldtypes:url", Userpicker = "com.atlassian.jira.plugin.system.customfieldtypes:userpicker", Version = "com.atlassian.jira.plugin.system.customfieldtypes:version" }