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.
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!
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.
At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs