The isCascadingSelect() public function in com.atlassian.jira.web.action.admin.customfields.EditCustomFieldOptions is checking a custom field type is an instance of CascadingSelectCFType (a native JIRA custom field type).
I am writing a custom Field that does not ( and cannot) extend CascadingSelectCFType but is extremely similar ( it's a multi cascading select instead of simple cascading select) - as such, i'd like to re-define the isCascadingSelect function to check for either CascadingSelectCFType or MultipleCascadingSelectCFType - is that possible?
If not, what would be the best approach?
I figured out the approach by browsing the source code of https://studio.plugins.atlassian.com/svn/JDVP/tags/database-values-plugin-1.3/
The atlassian-plugin.xml definition pretty much gives the answer :
<webwork1 key="multiple-cascading-select-cf-type-configuration" name="Multiple Options Cascading Select Field Configuration"> <description>Configuration for the Multiple Options Cascading Select Field Field.</description> <actions> <action name="com.company.plugins.jira.customfields.config.EditMultiCascadingCustomFieldOptions" alias="EditMultiCascadingCustomFieldOptions" roles-required="admin"> <view name="input">/secure/admin/views/customfields/editcustomfieldoptions.jsp</view> <view name="error">/secure/admin/views/customfields/editcustomfieldoptions.jsp</view> <view name="confirmdelete">/secure/admin/views/customfields/deletecustomfieldoption.jsp</view> <view name="edit">/secure/admin/views/customfields/editcustomfieldoptions.jsp</view> <command name="configureOption" alias="ConfigureCustomFieldOptions"> <view name="error">/secure/admin/views/customfields/editcustomfieldoptions.jsp</view> </command> </action> </actions> </webwork1>
From there- you can:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.