Interface ManagedFieldConfigurationRestorer

All Known Implementing Classes:
ManagedFieldConfigurationRestorerImpl

public interface ManagedFieldConfigurationRestorer
Used for restoring (and locking) the field configuration to the intended one. This includes fixes to: - name - description - searcher - context
Since:
6.1.4
  • Method Details

    • restoreAndLockFields

      ServiceResult restoreAndLockFields()
      Restores fields to their previous configuration, and attempts to lock them. Avoid calling this method aggressively because it clears caches.
      Returns:
      the result
    • isCustomFieldCorrectlyConfigured

      ServiceOutcome<Boolean> isCustomFieldCorrectlyConfigured(com.atlassian.jira.issue.fields.CustomField customField)
      Checks if the given custom field is configured correctly. Only checks fields managed by GreenHopper.
      Parameters:
      customField -
      Returns:
      if the given custom field is configured correctly
    • ensureFieldsHaveCorrectContextConfiguration

      Collection<io.atlassian.fugue.Pair<com.atlassian.jira.issue.fields.CustomField,CustomFieldMetadata>> ensureFieldsHaveCorrectContextConfiguration()
      Makes sure managed issue type specific custom fields have correctly configured contexts.
      Returns:
      collections of managed custom fields and their associated metadata.