I have written a custom field and now i wan't to add a searcher for it.
I have already tried, with no luck. My atlassian-plugin.xml looks like this:
<customfield-type name="Release Date" i18n-name-key="release-date.name" key="release-date" class="com.scalepoint.jira.plugin.jira.customfields.ReleaseDate"> <description key="release-date.description">Auto populated field, displaying the expected release date</description> <resource name="view" type="velocity" location="/templates/customfields/release-date/view-release-date.vm"/> </customfield-type> <customfield-searcher name="Date Range Searcher" key="releasedate-searcher" class="com.scalepoint.jira.plugin.jira.searcher.ReleaseDateSearcher"> <description>Searcher for Release date field</description> <resource type="velocity" name="search" location="templates/customfields/searcher/edit.vm"/> <resource type="velocity" name="view" location="templates/customfields/searcher/view.vm"/> <valid-customfield-type package="com.scalepoint.jira.plugin.jira.customfields" key="release-date"/> </customfield-searcher>
This should do the trick. The searcher is just a extended DateRangeSearcher class, with no aditional code.The 2 resourches are also just the default templates taken from WEB-INF\classes\templates
But it dosen't work. Can anyone see what im doing wrong?
Let’s face it. Test management tools today do achieve much more than just organization of your test assets. But when the test management tools seem to offer every feature under the sun, it becomes co...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events