Incident: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
(In Process of editing/updating)
Line 2: Line 2:


See [[Incident Import Configuration]] for elements that can be used in import configuration.  
See [[Incident Import Configuration]] for elements that can be used in import configuration.  
 
****THIS PAGE IS BEING EDITED*** It will be completed 4/3/2015****
===XML Elements===  
===XML Elements===  
*[[Incident.IncidentID|IncidentID]]
*[[Incident.IncidentID|IncidentID]]
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]]>}}
::{{Template:XFRACAS.Blue|<[[Incident.IncidentID|'''IncidentID''']]>}}{{Template:XFRACAS.Black|TI-1}}{{Template:XFRACAS.Blue|</[[Incident.IncidentID|'''IncidentID''']]>}}
::{{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|<[[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|<!—}}{{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|<Entity>}}'''
::{{Template:XFRACAS.Blue|<!—}}{{APIComment|EntityID must be an integer }}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|EntityID must be an integer }}
::<font color=Blue><EntityID></font><font color=black>1</font><font color=Blue></EntityID></font>
:::<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.}}
:::{{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>
:::<font color=Blue><EntityName></font><font color=black>XFRACAS Software</font><font color=Blue></EntityName></font>
:'''{{Template:XFRACAS.Blue|</Entity>}}'''
::'''{{Template:XFRACAS.Blue|</Entity>}}'''
:{{Template:XFRACAS.Blue|<[[Incident.Creator|'''Creator''']]>}}
::{{Template:XFRACAS.Blue|<[[Incident.Creator|'''Creator''']]>}}
      {{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|Joe}}{{Template:XFRACAS.Blue|</FirstName>}}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|FirstName must be a String. 80 characters maximum.}}
      {{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
      {{Template:XFRACAS.Blue|<Login>}}{{Template:XFRACAS.Black|JUSER}}{{Template:XFRACAS.Blue|</Login>}}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|MiddleName must be a String. 80 characters maximum.}}
    {{Template:XFRACAS.Blue|</[[Incident.Creator|'''Creator''']]>}}
:::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
    {{Template:XFRACAS.Blue|<[[Incident.Owner|Owner]]>}}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|LastName must be a String. 80 characters maximum.}}
      {{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|Sam}}{{Template:XFRACAS.Blue|</FirstName>}}
:::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
      {{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Login must be a String. 100 characters maximum.}}
      {{Template:XFRACAS.Blue|<Login>}}{{Template:XFRACAS.Black|SUSER}}{{Template:XFRACAS.Blue|</Login>}}
:::'''<font color=Blue><Login></font><font color=black>puser</font><font color=Blue></Login></font>'''
    {{Template:XFRACAS.Blue|</[[Incident.Owner|Owner]]>}}
::{{Template:XFRACAS.Blue|</[[Incident.Creator|'''Creator''']]>}}
    {{Template:XFRACAS.Blue|<[[Incident.AssignedProblems|AssignedProblems]]>}}
::{{Template:XFRACAS.Blue|<[[Incident.Owner|Owner]]>}}
      {{Template:XFRACAS.Blue|<[[Problem.ProblemID |ProblemID]]>}}{{Template:XFRACAS.Black|PR-1}}{{Template:XFRACAS.Blue|</[[Problem.ProblemID |ProblemID]]>}}
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|FirstName must be a String. 80 characters maximum.}}
    {{Template:XFRACAS.Blue|</[[Incident.AssignedProblems|AssignedProblems]]>}}
:::<font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font>
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|MiddleName must be a String. 80 characters maximum.}}
:::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|LastName must be a String. 80 characters maximum.}}
:::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
:::{{Template:XFRACAS.Blue|<!—}}{{APIComment|Login must be a String. 100 characters maximum.}}
:::'''<font color=Blue><Login></font><font color=black>suser</font><font color=Blue></Login></font>'''
::{{Template:XFRACAS.Blue|</[[Incident.Owner|Owner]]>}}
::{{Template:XFRACAS.Blue|<[[Incident.AssignedProblems|AssignedProblems]]>}}
:::{{Template:XFRACAS.Blue|<[[Problem.ProblemID |ProblemID]]>}}{{Template:XFRACAS.Black|PR-1}}{{Template:XFRACAS.Blue|</[[Problem.ProblemID |ProblemID]]>}}
::{{Template:XFRACAS.Blue|</[[Incident.AssignedProblems|AssignedProblems]]>}}
     {{Template:XFRACAS.Blue|<[[Incident.Type|'''Type''']]>}}
     {{Template:XFRACAS.Blue|<[[Incident.Type|'''Type''']]>}}
       {{Template:XFRACAS.Blue|<[[Issue Element|Issue]]}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"20"}}{{Template:XFRACAS.Blue|>}}
       {{Template:XFRACAS.Blue|<[[Issue Element|Issue]]}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"20"}}{{Template:XFRACAS.Blue|>}}

Revision as of 00:01, 3 April 2015


See Incident Import Configuration for elements that can be used in import configuration.

        • THIS PAGE IS BEING EDITED*** It will be completed 4/3/2015****

XML Elements

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>
<BatchInsert></BatchInsert>
<SplitTransaction></SplitTransaction>
<EnableUpdate></EnableUpdate>
<UpdateOnly></UpdateOnly>
<InsertDetailIssues></InsertDetailIssues>
</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 must be a String. 80 characters maximum.
<FirstName>Pam</FirstName>
<!— MiddleName must be a String. 80 characters maximum.
<MiddleName>Isa</MiddleName>
<!— LastName must be a String. 80 characters maximum.
<LastName>User</LastName>
<!— Login must be a String. 100 characters maximum.
<Login>puser</Login>
</Creator>
<Owner>
<!— FirstName must be a String. 80 characters maximum.
<FirstName>Sam</FirstName>
<!— MiddleName must be a String. 80 characters maximum.
<MiddleName>Isa</MiddleName>
<!— LastName must be a String. 80 characters maximum.
<LastName>User</LastName>
<!— Login must be a String. 100 characters maximum.
<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>