Hey,
I currently have implemented a String Customfield called BillingCodeField that extends AbstractSingleFieldType<String>. For this customfield I have the edit.vm implementing a cascading select box populated by AJAX calls to a JIRA REST Resource.
What I would like to do is when I add the Field and enter the initial configuration or just edit the configuration is have more configurations than just Field Name and Description. What I would like is to add my own configuration text fields there that I could then access within my edit.vm like defining where the REST Resource is, or defining certain filter parameters to pass in my AJAX Call.
Anyone have places I could start in terms of figuring out how to do this? I've tried googling and searching Answers but it hasn't yielded me any results yet.
Thanks
Community moderators have prevented the ability to post new answers.
You'll need to create your own ConfigurationItemType and add it to the return value of the getConfigurationItemTypes() method in your BillingCodeField class. You can check out the com.atlassian.jira.issue.customfields.impl.SelectCFType for an example of how this works.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys, hello.
These all are quite useful, but I didn't get to the point.
I've done all mentioned above and now I stuck at saving configuration's parameter value.
How can it be done and where it can be saved?
I want to create a field, that will be incremented each time, that some event fires. Name of event must be stored in this configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.