java.lang.Object | ||
↳ | com.atlassian.jira.functest.framework.AbstractFuncTestUtil | |
↳ | com.atlassian.jira.functest.framework.admin.CustomFieldsImpl |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a custom field configuration scheme context.
| |||||||||||
Adds a custom field of the specified type to JIRA.
| |||||||||||
Adds a custom field of the specified type to JIRA.
| |||||||||||
Add options to a customfield that supports it (i.e.
| |||||||||||
disable options from a customfield that supports them (i.e.
| |||||||||||
Alters an existing custom field configuration scheme context.
| |||||||||||
Alters an existing custom field configuration scheme context.
| |||||||||||
Change teh display value of an option from a customfield that supports them (i.e.
| |||||||||||
enable options from a customfield that supports them (i.e.
| |||||||||||
Removes the context from the specified custom field with the specified config scheme id.
| |||||||||||
Removes the context from the specified custom field with the specified config scheme id.
| |||||||||||
Removes the custom field
| |||||||||||
Removes the global context from the specified custom field's configuration schemes.
| |||||||||||
Remove options from a customfield that supports them (i.e.
| |||||||||||
Renames the custom field.
| |||||||||||
Sets the searcher for the specified custom field.
| |||||||||||
Set default value for any custom field that supports default value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Adds a custom field configuration scheme context.
customFieldId | the numeric custom field id |
---|---|
label | the new name |
issueTypeIds | the ids of the issue types; must not be null |
projectIds | the ids of the projects; must not be null |
10013
Adds a custom field of the specified type to JIRA.
The default searcher is used, and the custom field is added to the global project/issue type context.
The field is added to the Default Screen.
fieldType | the full name of the custom field type to add e.g. com.atlassian.jira.plugin.system.customfieldtypes:userpicker |
---|---|
fieldName | the name of the custom field e.g. UserCF |
A formatted String containing the id of the custom field, the format used is: customfield_customfield-id
For example, customfield_10000
Adds a custom field of the specified type to JIRA.
The default searcher is used. The context is created for the specified issue types and projects.
The field is added to the Default Screen.
fieldType | the full name of the custom field type to add e.g. com.atlassian.jira.plugin.system.customfieldtypes:userpicker |
---|---|
fieldName | the name of the custom field e.g. UserCF |
issueTypes | the ids of the issue types; must not be null |
projects | the ids of the projects; must not be null |
customfield_10000
Add options to a customfield that supports it (i.e. selectlist)
numericCustomFieldId | the numeric customfield id |
---|---|
options | the options to add |
disable options from a customfield that supports them (i.e. selectlist)
numericCustomFieldId | the numeric custom field id |
---|---|
options | to disable |
Alters an existing custom field configuration scheme context.
customFieldId | the numeric custom field id |
---|---|
fieldConfigSchemeId | the id of the scheme |
label | the new name; use null if no update required |
issueTypeIds | the ids of the issue types; use null if no update required |
projectIds | the ids of the projects; use null if no update required |
Alters an existing custom field configuration scheme context.
numericCustomFieldId | the numeric custom field id |
---|---|
label | the label of the scheme |
newLabel | the new name; use null if no update required |
issueTypeIds | the ids of the issue types; use null if no update required |
projectIds | the ids of the projects; use null if no update required |
Change teh display value of an option from a customfield that supports them (i.e. selectlist)
numericCustomFieldId | the numeric custom field id |
---|---|
option | id to change |
enable options from a customfield that supports them (i.e. selectlist)
numericCustomFieldId | the numeric custom field id |
---|---|
options | to enable |
Removes the context from the specified custom field with the specified config scheme id.
numericCustomFieldId | the numeric custom field id |
---|---|
fieldConfigSchemeId | the numeric field config scheme id |
Removes the context from the specified custom field with the specified config scheme id.
numericCustomFieldId | the numeric custom field id |
---|---|
fieldConfigSchemeLabel | the label of the field config scheme |
Removes the custom field
customFieldId | the full custom field id e.g. customfield_10000
|
---|
Removes the global context from the specified custom field's configuration schemes.
customFieldId | the numeric custom field id |
---|
Remove options from a customfield that supports them (i.e. selectlist)
numericCustomFieldId | the numeric custom field id |
---|---|
options | to remove |
Renames the custom field.
numericCustomFieldId | the numeric custom field id |
---|---|
newCustomFieldName | the new name for the custom field e.g. My CF |
Sets the searcher for the specified custom field. Use the return value to reset the searcher to its previous value later.
customFieldId | the numeric custom field id |
---|---|
searcherKey | the full key of the searcher to use e.g. com.atlassian.jira.plugin.system.customfieldtypes:numberrange .
Use null to remove the searcher. |
Set default value for any custom field that supports default value.
numericCustomFieldId | the numeric customfield id |
---|---|
defValue | default value |