Incident: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) (→Incident Sample: Updated Top Part) |
John Leavitt (talk | contribs) No edit summary |
||
Line 79: | Line 79: | ||
::<font color=blue><ResourceText></font><font color=black>Text</font><font color=blue></ResourceText></font> | ::<font color=blue><ResourceText></font><font color=black>Text</font><font color=blue></ResourceText></font> | ||
:<font color=blue></Resources></font> | :<font color=blue></Resources></font> | ||
:{{Template:XFRACAS.Blue|<[[Problem.Incident|Incident]]>}} | |||
::{{Template:XFRACAS.Blue|<[[Incident.IncidentID|'''IncidentID''']]>}}{{Template:XFRACAS.Black|TI-1}}{{Template:XFRACAS.Blue|</[[Incident.IncidentID|'''IncidentID''']]>}} | |||
::{{Template:XFRACAS.Blue|<[[Incident.Title|Title]]>}}{{Template:XFRACAS.Black|Test Incident}}{{Template:XFRACAS.Blue|</[[Incident.Title|Title]]>}} | |||
:{{Template:XFRACAS.Blue|<!—}}{{APIComment|During an import, the EntityID element is checked first and if no match is found the EntityName element is checked. If neither value matches an existing entity, the import will be stopped. }} | |||
:'''{{Template:XFRACAS.Blue|<Entity>}}''' | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|EntityID must be an integer }} | |||
::<font color=Blue><EntityID></font><font color=black>1</font><font color=Blue></EntityID></font> | |||
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|EntityName must be a String. 50 characters maximum.}} | |||
::<font color=Blue><EntityName></font><font color=black>XFRACAS Software</font><font color=Blue></EntityName></font> | |||
:'''{{Template:XFRACAS.Blue|</Entity>}}''' | |||
:{{Template:XFRACAS.Blue|<[[Incident.Creator|'''Creator''']]>}} | |||
{{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|Joe}}{{Template:XFRACAS.Blue|</FirstName>}} | {{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|Joe}}{{Template:XFRACAS.Blue|</FirstName>}} | ||
{{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}} | {{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}} |
Revision as of 22: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>
- <Incident>
- <IncidentID> TI-1 </IncidentID>
- <Title> Test Incident </Title>
- <!— During an import, the EntityID element is checked first and if no match is found the EntityName element is checked. If neither value matches an existing entity, the import will be stopped.
- <Entity>
- <!— EntityID must be an integer
- <EntityID>1</EntityID>
- <!— EntityName must be a String. 50 characters maximum.
- <EntityName>XFRACAS Software</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>