StateChangeHistory

Description

The StateChangeHistory type holds the state change history for an item. The StateChangeHistory type parameters are listed below.

Parameters

Name Type Description
newState StateIdentifier The state the item is in after the transition.
transition TransitionIdentifier The transition that was performed.
time dateTime The timestamp used when the change record was created.
user UserIdentifier The user who performed the transition.
owner UserIdentifier The current owner of the item.

Usage

The StateChangeHistory type is part of the response to the GetStateChangeHistory call. StateChangeHistory holds the same information that you see in the details of the State Change History for an item. You can use GetStateChangeHistory to retrieve the data shown here.

XML

The following XML snippet shows the StateChangeHistory type in the return element of the GetStateChangeHistory response.

<ae:stateChangeHistory>
   <ae:newState xsi:type="ae:StateIdentifier">
      <ae:displayName>Evaluating Issue</ae:displayName>
      <ae:id>1</ae:id>
      <ae:uuid>985caf28-7a1c-4038-b6e2-c11703b214cd</ae:uuid>
      <ae:internalName>SOFTWARE_ISSUES.EVALUATING_ISSUE</ae:internalName>
      <ae:isClosed>false</ae:isClosed>
   </ae:newState>
   <ae:transition xsi:type="ae:TransitionIdentifier">
      <ae:displayName>Submit</ae:displayName>
      <ae:id>3</ae:id>
      <ae:uuid>a78f0a30-1305-46c2-b661-df8219c105b2</ae:uuid>
      <ae:internalName>SOFTWARE_ISSUES.SUBMIT</ae:internalName>
   </ae:transition>
   <ae:time>2009-02-05T22:04:32Z</ae:time>
   <ae:user xsi:type="ae:UserIdentifier">
      <ae:displayName>Joe Manager</ae:displayName>
      <ae:id>2</ae:id>
      <ae:uuid>85a33f0b-9542-43fe-90c1-e152eeea777f</ae:uuid>
      <ae:loginId>joe</ae:loginId>
   </ae:user>
   <ae:owner xsi:type="ae:UserIdentifier">
      <ae:displayName>Joe Manager</ae:displayName>
      <ae:id>2</ae:id>
      <ae:uuid>85a33f0b-9542-43fe-90c1-e152eeea777f</ae:uuid>
      <ae:loginId>joe</ae:loginId>
   </ae:owner>
</ae:stateChangeHistory>