Class FieldConfigSchemeControl

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<FieldConfigSchemeControl>
com.atlassian.jira.functest.framework.backdoor.FieldConfigSchemeControl

public class FieldConfigSchemeControl extends BackdoorControl<FieldConfigSchemeControl>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient

    com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
  • Field Summary

    Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl

    API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath

    Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient

    REST_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.ws.rs.client.WebTarget
     
    void
    updateFieldConfigScheme(String fieldId, long configSchemeId, String label, Collection<String> projectIds, Collection<String> issueTypeIds)
     

    Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl

    createResourceForPath, createResourceForPath, get, getRestModulePath

    Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient

    anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FieldConfigSchemeControl

      public FieldConfigSchemeControl(JIRAEnvironmentData environmentData)
  • Method Details

    • updateFieldConfigScheme

      public void updateFieldConfigScheme(@Nonnull String fieldId, long configSchemeId, @Nullable String label, @Nullable Collection<String> projectIds, @Nullable Collection<String> issueTypeIds)
      Parameters:
      fieldId - - custom or system field ID
      configSchemeId - - specific config scheme of a given field
      label - - new label for config scheme - if `null`, current label will persist
      projectIds - - new project IDs for config scheme; if `null`, current project settings will persist; if empty list is provided, global context will be set
      issueTypeIds - - new issue type IDs for config scheme; if `null`, current issue type settings will persist; if empty list is provided, global context will be set
    • createResource

      protected javax.ws.rs.client.WebTarget createResource()
      Overrides:
      createResource in class BackdoorControl<FieldConfigSchemeControl>