I'm hoping someone who knows XML can help: can someone decifer the error:
"An error occurred:
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; LineNumber: 353; columnNumber:34; cvc-complex-type.2.4.a: Invalid content was found starting with element 'allProjects'. One of '{context, applicableIssueType, customeFieldConfiguration, config}' is expected.] "
It appears to say 2 different things to me
1) a '{context, applicacableIssueType, customeFIeldConfiguration, config}' is expected - i.e., it's missing OR 2) possibly the date format is incorrect . . . .
here's the section from the XML file the error refers to - line 353 column 34-37 is bold
<customField>
<type>com.atlassian.jira.plugin.system.customfieldtypes:datepicker</type>
<name>Date Found</name>
<description>Date that the problem or observation was found</description>
<searchTemplate>com.atlassian.jira.plugin.system.customfieldtypes:daterange</searchTemplate>
<customFieldConfigScheme>
<name>Default Configuration Scheme for Date Found</name>
<description>Default configuration scheme generated by JIRA</description>
<allProjects>true</allProjects>
<applicableIssueType><issueType>Bug</issueType>
<customFieldConfiguration>Default Configuration for Date Found</customFieldConfiguration>
</applicableIssueType>
THERE WERE MULTIPLE <applicableIssueType> </applicableIssueType> blocks all saying the same thing but with different IssueTypes
<config>
<name>Default Configuration for Date Found</name>
<description>Default configuration generated by Jira</description>
<defaultValue>
<singularValue>18/Jul/19</singularValue>
</defaultValue>
</config>
</customFieldConfigScheme>
</customField>