com.atlassian.jira.functest.framework.backdoor
Class CustomFieldsControl
java.lang.Object
com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.RestApiClient<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<CustomFieldsControl>
com.atlassian.jira.functest.framework.backdoor.CustomFieldsControl
- All Implemented Interfaces:
- FuncTestLogger
public class CustomFieldsControl
- extends BackdoorControl<CustomFieldsControl>
Use this class from func/selenium/page-object tests that need to manipulate Custom fields.
- Since:
- v5.1
- Author:
- esusatyo
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl |
createResource, delete, get, get, get, getId, log, log, post, post, post |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomFieldsControl
public CustomFieldsControl(JIRAEnvironmentData environmentData)
createCustomField
public String createCustomField(String name,
String description,
String type,
String searcherKey)
- Creates a new custom field
- Parameters:
name
- the name of the custom fielddescription
- the name of the custom fieldtype
- the type of the custom fieldsearcherKey
- the searcher key of the custom field
deleteCustomField
public void deleteCustomField(String customFieldId)
- Deletes a custom field
- Parameters:
customFieldId
- The id of the custom field (e.g. customfield_10000)
Copyright © 2002-2012 Atlassian. All Rights Reserved.