Incident: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) |
John Leavitt (talk | contribs) (→Incident Sample: Updated Top Part) |
||
Line 48: | Line 48: | ||
===Incident Sample=== | ===Incident Sample=== | ||
:{{Template:XFRACAS.Black|<?xml version}}={{Template:XFRACAS.Black|"1.0" encoding}}={{Template:XFRACAS.Black|"utf-8"?>}} | |||
:{{Template:XFRACAS.Black|<!DOCTYPE Incidents SYSTEM "Incident.dtd"[]>}} | |||
:{{Template:XFRACAS.Black|<Incidents xmlns:xsi}}={{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd}}={{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSchema">}} | |||
:<font color=blue><!—</font>{{APIComment|The ExportData element is only used to display information about an export. No data is imported from these elements.}} | |||
:<font color=blue><!—</font>{{APIComment|This element will be present on all exported XML files. }} | |||
:<font color=blue><ExportData></font> | |||
::<font color=blue><ReportGenerated></font><font color=black>09/16/2013 09:40 AM</font><font color=blue></ReportGenerated></font> | |||
::<font color=blue></GeneratedBy></font> | |||
:::<font color=blue><FirstName></font><font color=black>Joe</font><font color=blue></FirstName></font> | |||
:::<font color=blue><MiddleName></font><font color=black>Isa</font><font color=blue></MiddleName></font> | |||
:::<font color=blue><LastName></font><font color=black>User</font><font color=blue></LastName></font> | |||
:::<font color=blue><Login></font><font color=black>JUser</font><font color=blue></Login></font> | |||
::<font color=blue></GeneratedBy></font> | |||
::<font color=blue><GMTOffset></font><font color=black>-7</font><font color=blue></GMTOffset></font> | |||
:<font color=blue></ExportData></font> | |||
:<[[Import Configuration|ImportConfiguration]]> | |||
::<[[BatchInsert]]></[[BatchInsert]]> | |||
::<[[SplitTransaction]]></[[SplitTransaction]]> | |||
::<[[EnableUpdate]]></[[EnableUpdate]]> | |||
::<[[UpdateOnly]]></[[UpdateOnly]]> | |||
::<[[InsertDetailIssues]]></[[InsertDetailIssues]]> | |||
:</[[Import Configuration|ImportConfiguration]]> | |||
:<font color=blue><!—</font>{{APIComment|The Resources element is used only to display localization information. Data is not imported from these elements, so it is not necessary for XML imports. This element will be present on most exported XML files.}} | |||
:<font color=blue><Resources></font> | |||
::<font color=blue><!—</font>{{APIComment|LanguageCode must be a string}} | |||
::<font color=blue><LanguageCode></font><font color=black>en</font><font color=blue></LanguageCode></font> | |||
::<font color=blue><!—</font>{{APIComment|ResourceID must be an Integer}} | |||
::<font color=blue><ResourceID></font><font color=black>9056</font><font color=blue></ResourceID></font> | |||
::<font color=blue><!—</font>{{APIComment|ResourceText must be a string. 1000 characters maximum}} | |||
::<font color=blue><ResourceText></font><font color=black>Text</font><font color=blue></ResourceText></font> | |||
:<font color=blue></Resources></font> | |||
{{Template:XFRACAS.Blue|<[[Import Configuration|ImportConfiguration]] />}} | {{Template:XFRACAS.Blue|<[[Import Configuration|ImportConfiguration]] />}} | ||
{{Template:XFRACAS.Blue|<[[Problem.Incident|Incident]]>}} | {{Template:XFRACAS.Blue|<[[Problem.Incident|Incident]]>}} |
Revision as of 21:39, 2 April 2015
See Incident Import Configuration for elements that can be used in import configuration.
XML Elements
- IncidentID
- Title
- Entity
- Creator
- Owner
- AssignedProblems
- Type
- ASPFieldServiceTech
- OccurrenceDate
- CreatedDate
- CloseDate
- RepairDurationTime
- ResponseTime
- DownTimeForService
- CustomerSupportNumber
- TopLevelPart
- ResponsibleParts
- ResponsiblePart
- Chargeable
- UnderWarranty
- WarrantyOverride
- CustomerRequestedFeedback
- ServiceResponseDate
- UnitLocation
- Address
- Statuses
- Status
- Categories
- Category
- SystemStatuses
- SystemStatus
- ReportTypes
- ReportType
- SystemStatus
- RepairReplaces
- RepairReplace
- ActualCriticality
- PotentialCriticality
- Criticality
- Team Members
- Actions
- Details
Incident Sample
- <?xml version = "1.0" encoding = "utf-8"?>
- <!DOCTYPE Incidents SYSTEM "Incident.dtd"[]>
- <Incidents xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
- <!— The ExportData element is only used to display information about an export. No data is imported from these elements.
- <!— This element will be present on all exported XML files.
- <ExportData>
- <ReportGenerated>09/16/2013 09:40 AM</ReportGenerated>
- </GeneratedBy>
- <FirstName>Joe</FirstName>
- <MiddleName>Isa</MiddleName>
- <LastName>User</LastName>
- <Login>JUser</Login>
- </GeneratedBy>
- <GMTOffset>-7</GMTOffset>
- </ExportData>
- <ImportConfiguration>
- </ImportConfiguration>
- <!— The Resources element is used only to display localization information. Data is not imported from these elements, so it is not necessary for XML imports. This element will be present on most exported XML files.
- <Resources>
- <!— LanguageCode must be a string
- <LanguageCode>en</LanguageCode>
- <!— ResourceID must be an Integer
- <ResourceID>9056</ResourceID>
- <!— ResourceText must be a string. 1000 characters maximum
- <ResourceText>Text</ResourceText>
- </Resources>
<ImportConfiguration /> <Incident> <IncidentID> TI-1 </IncidentID> <Title> Test Incident </Title> <Entity> <EntityID> 1 </EntityID> <EntityName> Test Entity </EntityName> </Entity> <Creator> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </Creator> <Owner> <FirstName> Sam </FirstName> <LastName> User </LastName> <Login> SUSER </Login> </Owner> <AssignedProblems> <ProblemID> PR-1 </ProblemID> </AssignedProblems> <Type> <Issue IssueTypeID = "20" > <Description> Serialized Incident </Description> </Issue> </Type> <ASPFieldServiceTech> <CustomerID> 1 </CustomerID> <FirstName> Sally </FirstName> <LastName> User </LastName> </ASPFieldServiceTech> <OccurrenceDate> <Year> 2013 </Year> <Month> 6 </Month> <Day> 19 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 0 </Second> <FormattedDate> 06/19/2013 01:21 PM </FormattedDate> </OccurrenceDate> <CreatedDate> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </CreatedDate> <CloseDate/> <ResponseTime> 1170 </ResponseTime> <DownTimeForService> 1175 </DownTimeForService> <RepairDurationTime> 12 </RepairDurationTime> <CustomerSupportNumber> CSI-1 </CustomerSupportNumber> <TopLevelPart> <PartID> 1 </PartID> <PartName> XFRACAS </PartName> <PartNumber> XFRACAS </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 1 </SerialHID> <SerialNumber> 1 </SerialNumber> <HID> 1 </HID> <TimeMetric1> 17 </TimeMetric1> <TimeMetric2> 245 </TimeMetric2> <TimeMetric3> 2222 </TimeMetric3> </TopLevelPart> <ResponsibleParts> <ResponsiblePart> <Part> <PartID> 2 </PartID> <PartName> Action </PartName> <PartNumber> Action </PartNumber> <PartVersion /> <RetiredDate /> </Part> <ResponsibleUser /> </ResponsiblePart> </ResponsibleParts> <Chargeable> No </Chargeable> <UnderWarranty> No </UnderWarranty> <WarrantyOverride/> <CustomerRequestedFeedback> No </CustomerRequestedFeedback> <ServiceResponseDate> <Year> 2013 </Year> <Month> 8 </Month> <Day> 7 </Day> <Hour> 23 </Hour> <Minute> 52 </Minute> <Second> 0 </Second> <FormattedDate> 08/07/2013 04:52 PM </FormattedDate> </ServiceResponseDate> <UnitLocation> AGCO </UnitLocation> <Address> <AddressLine1> 123 Fake St. </AddressLine1> <AddressLine2 /> <City> Tucson </City> <State> Arizona </State> <Country> United States </Country> <ZipCode> 85710 </ZipCode> <Location> TUS </Location> </Address> <Statuses> <Status> <Issue IssueTypeID = "8" >
10
<Description> Under Review </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 7 </Month> <Day> 1 </Day> <Hour> 15 </Hour> <Minute> 49 </Minute> <Second> 34 </Second> <FormattedDate> 07/01/2013 08:49 AM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> </Status> <Status> <Issue IssueTypeID = "8" >
01
<Description> Open/New </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> Yes </Retired> </Status> </Statuses> <Categories> <Category> <Issue IssueTypeID = "21" > <Description> Cleanup </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> <Chargeable> No </Chargeable> </Category> </Categories> <SystemStatuses> <SystemStatus> <Issue IssueTypeID = "14" >
40
<Description> Running </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 8 </Month> <Day> 2 </Day> <Hour> 15 </Hour> <Minute> 39 </Minute> <Second> 16 </Second> <FormattedDate> 08/02/2013 08:39 AM}} </FormattedDate> </Date> <Retired> No </Retired> </SystemStatus> <SystemStatus> <Issue IssueTypeID = "14" >
40
<Description> Running </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 7 </Month> <Day> 30 </Day> <Hour> 15 </Hour> <Minute> 6 </Minute> <Second> 59 </Second> <FormattedDate> 07/30/2013 08:06 AM </FormattedDate> </Date> <Retired> Yes </Retired> </SystemStatus> <SystemStatus> </SystemStatuses> <ReportTypes> <ReportType> <Issue IssueTypeID = "38" > <Description> Prerelease or Staging </Description> </Issue> <Date> <Year> 2013 </Year> <Month> 6 </Month> <Day> 17 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 51 </Second> <FormattedDate> 06/17/2013 01:21 PM </FormattedDate> </Date> <UpdatedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </UpdatedBy> <Retired> No </Retired> </ReportType> </ReportTypes> <RepairReplace> <RepairReplace PartOrder = "0" > <OldPart> <PartID> 1 </PartID> <PartName> XFRACAS </PartName> <PartNumber> XFRACAS </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 1 </SerialHID> <SerialNumber> 1 </SerialNumber> </OldPart> </NewPart> <FailureAnalyses /> <PartDisposition /> <RMAReceivedDate /> <ChangeDate> <Year> 2013 </Year> <Month> 7 </Month> <Day> 30 </Day> <Hour> 15 </Hour> <Minute> 7 </Minute> <Second> 1 </Second> <FormattedDate> 07/30/2013 08:07 AM </FormattedDate> </ChangeDate> <StartingAge> 0 </StartingAge> <HoursToFailure> 17.00 </HoursToFailure> </RepairReplace> <RepairReplace PartOrder = "1" > <OldPart> <PartID> 3 </PartID> <PartName> Action List </PartName> <PartNumber> Action List </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 2 </SerialHID> </OldPart> <NewPart> <PartID> 4 </PartID> <PartName> Action List2 </PartName> <PartNumber> Action List2 </PartNumber> <PartVersion /> <RetiredDate /> <SerialHID> 3 </SerialHID> </NewPart> <PartFailure> <FailureType> <Issue IssueTypeID = "23" > <Description> Collateral Failure </Description> </Issue> </FailureType> </PartFailure> <FailureAnalyses /> <PartDisposition> <Issue IssueTypeID = "13">
1
}} <Description> Send to Reman </Description> </Issue> </PartDisposition> <RMAReceivedDate /> <ChangeDate> <Year> 2013 </Year> <Month> 7 </Month> <Day> 31 </Day> <Hour> 23 </Hour> <Minute> 2 </Minute> <Second> 44 </Second> <FormattedDate> 07/31/2013 04:02 PM}} </FormattedDate> </ChangeDate> <StartingAge> 0 </StartingAge> <HoursToFailure> 17.00 </HoursToFailure> </RepairReplace> </RepairReplace> <Criticalities> <Criticality> <SelectedCriticalityIssue> <Issue IssueTypeID = "1000" >
1
<Description> Value 1 </Description> </Issue> </SelectedCriticalityIssue> <CriticalityType> <CritTypeName> Criticality Example </CritTypeName> <CritTypeDescription> Criticality Example </CritTypeDescription> </CriticalityType> <CriticalityStep> 1 </CriticalityStep> <CriticalityDisplayOrder> 2 </CriticalityDisplayOrder> </Criticality> </Criticalities> <TeamMembers> <TeamMember> <MemberUser> <FirstName> Bob </FirstName> <LastName> User </LastName> <Login> BUSER </Login> </MemberUser> <MemberRole> <Issue IssueTypeID = "50" > <Description> Software Engineer </Description> </Issue> </MemberRole> </TeamMember> <TeamMember> <MemberUser> <FirstName> Sam </FirstName> <LastName> User </LastName> <Login> SUSER </Login> </MemberUser> <MemberRole> <Issue IssueTypeID = "50" > <Description> Project Lead </Description> </Issue> </MemberRole> </TeamMember> </TeamMembers> <Actions /> <Details/> </Incident>
</Incidents>