public class

ImportIdLinkCFType

extends NumberCFType
implements SortableCustomField<T>
java.lang.Object
   ↳ com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType<T, S>
     ↳ com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType<T>
       ↳ com.atlassian.jira.issue.customfields.impl.NumberCFType
         ↳ com.atlassian.jira.issue.customfields.impl.ImportIdLinkCFType

Summary

Nested Classes
interface ImportIdLinkCFType.Visitor<X>  
Constants
String BUGZILLA_ID_CF_NAME
String BUGZILLA_ID_SEARCHER
String BUGZILLA_ID_TYPE
[Expand]
Inherited Constants
From class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
From interface com.atlassian.jira.issue.customfields.CustomFieldType
[Expand]
Inherited Fields
From class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
Public Constructors
ImportIdLinkCFType(CustomFieldValuePersister customFieldValuePersister, DoubleConverter doubleConverter, ApplicationProperties applicationProperties, GenericConfigManager genericConfigManager)
Public Methods
Object accept(VisitorBase visitor)
String availableForBulkEdit(BulkEditBean bulkEditBean)
Allow the custom field type perform a specific check as to its availability for bulk editing.
String getChangelogValue(CustomField field, Double value)
@Nonnull Map<StringObject> getVelocityParameters(Issue issue, CustomField field, FieldLayoutItem fieldLayoutItem)
The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).
void updateValue(CustomField customField, Issue issue, Double value)
the value does exist, and the new value is different than the existing one.
[Expand]
Inherited Methods
From class com.atlassian.jira.issue.customfields.impl.NumberCFType
From class com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
From class com.atlassian.jira.issue.customfields.impl.AbstractCustomFieldType
From class java.lang.Object
From interface com.atlassian.jira.imports.project.customfield.ProjectImportableCustomField
From interface com.atlassian.jira.issue.customfields.CustomFieldType
From interface com.atlassian.jira.issue.customfields.SortableCustomField
From interface com.atlassian.jira.issue.fields.rest.RestAwareCustomFieldType
From interface com.atlassian.jira.issue.fields.rest.RestCustomFieldTypeOperations

Constants

public static final String BUGZILLA_ID_CF_NAME

Constant Value: "Bugzilla Id"

public static final String BUGZILLA_ID_SEARCHER

Constant Value: "exactnumber"

public static final String BUGZILLA_ID_TYPE

Constant Value: "importid"

Public Constructors

public ImportIdLinkCFType (CustomFieldValuePersister customFieldValuePersister, DoubleConverter doubleConverter, ApplicationProperties applicationProperties, GenericConfigManager genericConfigManager)

Public Methods

public Object accept (VisitorBase visitor)

public String availableForBulkEdit (BulkEditBean bulkEditBean)

Allow the custom field type perform a specific check as to its availability for bulk editing.

Parameters
bulkEditBean BulkEditBean
Returns
  • null if available for bulk edit or appropriate unavailable message

public String getChangelogValue (CustomField field, Double value)

@Nonnull public Map<StringObject> getVelocityParameters (Issue issue, CustomField field, FieldLayoutItem fieldLayoutItem)

The custom field may wish to pass parameters to the velocity context beyond the getValueFromIssue methods (eg managers).

The values are added to the context for all velocity views (edit, search, view, xml)

Parameters
issue The issue currently in context (Note: this will be null in cases like 'default value')
field CustomField
fieldLayoutItem FieldLayoutItem
Returns
  • A Map of parameters to add to the velocity context, or an empty Map otherwise (never null)

public void updateValue (CustomField customField, Issue issue, Double value)

the value does exist, and the new value is different than the existing one.