<atlassian-plugin key="org.moodle.plugin.customfields.MoodleBranchesCustomFields" name="Moodle Branches Custom Fields">
  <plugin-info>
    <description>Parent POM for JIRA plugins. Specifies which version of Java to compile
        against, and Maven repositories for JIRA and its dependencies.</description>
    <version>1.0.1</version>
    <application-version min="3.13" max="3.13"/>
    <vendor name="Eloy Lafuente (stronk7)" url="http://stronk7.com"/>
  </plugin-info>

  <customfield-type key="moodleaffectedbranches"
                   name="Moodle Affected Branches"
                  class="org.moodle.plugin.customfields.AffectedBranches">
    <description>This field will show the branches affected by one issue, given their affected versions</description>
    <resource type="velocity" name="view" location="templates/plugins/fields/view/view-basictext.vm"/>
    <resource type="velocity" name="xml" location="templates/plugins/fields/xml/xml-basictext.vm"/>
  </customfield-type>
  <customfield-searcher key="moodleaffectedbranchessearcher"
                       name="Affected Branches Searcher"
                      class="com.atlassian.jira.issue.customfields.searchers.TextSearcher">
    <description>Search for affected branches</description>
    <resource type="velocity" name="search" location="templates/plugins/fields/edit-searcher/search-basictext.vm"/>
    <resource type="velocity" name="view" location="templates/plugins/fields/view-searcher/view-searcher-basictext.vm"/>
    <resource type="velocity" name="label" location="templates/plugins/fields/view-searcher/label-searcher-basictext.vm"/>
    <valid-customfield-type package="org.moodle.plugin.customfields.MoodleBranchesCustomFields" key="moodleaffectedbranches"/>
  </customfield-searcher>

  <customfield-type key="moodlefixedbranches"
                   name="Moodle Fixed Branches"
                  class="org.moodle.plugin.customfields.FixedBranches">
    <description>This field will show the branches fixed for one issue, given their fixfor versions</description>
    <resource type="velocity" name="view" location="templates/plugins/fields/view/view-basictext.vm"/>
    <resource type="velocity" name="xml" location="templates/plugins/fields/xml/xml-basictext.vm"/>
  </customfield-type>
  <customfield-searcher key="moodlefixedbranchessearcher"
                       name="Fixed Branches Searcher"
                      class="com.atlassian.jira.issue.customfields.searchers.TextSearcher">
    <description>Search for fixed branches</description>
    <resource type="velocity" name="search" location="templates/plugins/fields/edit-searcher/search-basictext.vm"/>
    <resource type="velocity" name="view" location="templates/plugins/fields/view-searcher/view-searcher-basictext.vm"/>
    <resource type="velocity" name="label" location="templates/plugins/fields/view-searcher/label-searcher-basictext.vm"/>
    <valid-customfield-type package="org.moodle.plugin.customfields.MoodleBranchesCustomFields" key="moodlefixedbranches"/>
  </customfield-searcher>

</atlassian-plugin>
