Skip to main content

IssueHistory

Struct IssueHistory 

Source
pub struct IssueHistory {
Show 79 fields pub id: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub archived_at: Option<DateTime<Utc>>, pub issue: Option<Box<Issue>>, pub actor_id: Option<String>, pub updated_description: Option<bool>, pub from_title: Option<String>, pub to_title: Option<String>, pub from_assignee_id: Option<String>, pub to_assignee_id: Option<String>, pub from_priority: Option<f64>, pub to_priority: Option<f64>, pub from_team_id: Option<String>, pub to_team_id: Option<String>, pub from_parent_id: Option<String>, pub to_parent_id: Option<String>, pub from_state_id: Option<String>, pub to_state_id: Option<String>, pub from_cycle_id: Option<String>, pub to_cycle_id: Option<String>, pub to_converted_project_id: Option<String>, pub from_project_id: Option<String>, pub to_project_id: Option<String>, pub from_estimate: Option<f64>, pub to_estimate: Option<f64>, pub archived: Option<bool>, pub trashed: Option<bool>, pub attachment_id: Option<String>, pub added_label_ids: Option<Vec<String>>, pub removed_label_ids: Option<Vec<String>>, pub added_to_release_ids: Option<Vec<String>>, pub removed_from_release_ids: Option<Vec<String>>, pub relation_changes: Option<Box<Vec<IssueRelationHistoryPayload>>>, pub auto_closed: Option<bool>, pub auto_archived: Option<bool>, pub from_due_date: Option<NaiveDate>, pub to_due_date: Option<NaiveDate>, pub customer_need_id: Option<String>, pub changes: Option<Value>, pub actor: Option<Box<User>>, pub actors: Option<Box<Vec<User>>>, pub description_updated_by: Option<Box<Vec<User>>>, pub from_assignee: Option<Box<User>>, pub to_assignee: Option<Box<User>>, pub from_cycle: Option<Box<Cycle>>, pub to_cycle: Option<Box<Cycle>>, pub to_converted_project: Option<Box<Project>>, pub from_delegate: Option<Box<User>>, pub to_delegate: Option<Box<User>>, pub from_project: Option<Box<Project>>, pub to_project: Option<Box<Project>>, pub from_state: Option<Box<WorkflowState>>, pub to_state: Option<Box<WorkflowState>>, pub from_team: Option<Box<Team>>, pub to_team: Option<Box<Team>>, pub from_parent: Option<Box<Issue>>, pub to_parent: Option<Box<Issue>>, pub attachment: Option<Box<Attachment>>, pub issue_import: Option<Box<IssueImport>>, pub triage_responsibility_notified_users: Option<Box<Vec<User>>>, pub triage_responsibility_auto_assigned: Option<bool>, pub triage_responsibility_team: Option<Box<Team>>, pub from_project_milestone: Option<Box<ProjectMilestone>>, pub to_project_milestone: Option<Box<ProjectMilestone>>, pub from_sla_started_at: Option<DateTime<Utc>>, pub to_sla_started_at: Option<DateTime<Utc>>, pub from_sla_breaches_at: Option<DateTime<Utc>>, pub to_sla_breaches_at: Option<DateTime<Utc>>, pub from_sla_breached: Option<bool>, pub to_sla_breached: Option<bool>, pub from_sla_type: Option<String>, pub to_sla_type: Option<String>, pub bot_actor: Option<Box<ActorBot>>, pub added_labels: Option<Box<Vec<IssueLabel>>>, pub removed_labels: Option<Box<Vec<IssueLabel>>>, pub added_to_releases: Option<Box<Vec<Release>>>, pub removed_from_releases: Option<Box<Vec<Release>>>, pub triage_rule_metadata: Option<Box<IssueHistoryTriageRuleMetadata>>,
}
Expand description

A record of changes to an issue.

Fields§

§id: Option<String>

The unique identifier of the entity.

§created_at: Option<DateTime<Utc>>

The time at which the entity was created.

§updated_at: Option<DateTime<Utc>>

The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.

§archived_at: Option<DateTime<Utc>>

The time at which the entity was archived. Null if the entity has not been archived.

§issue: Option<Box<Issue>>

The issue that was changed.

§actor_id: Option<String>

The id of user who made these changes. If null, possibly means that the change made by an integration.

§updated_description: Option<bool>

Whether the issue’s description was updated.

§from_title: Option<String>

What the title was changed from.

§to_title: Option<String>

What the title was changed to.

§from_assignee_id: Option<String>

The id of user from whom the issue was re-assigned from.

§to_assignee_id: Option<String>

The id of user to whom the issue was assigned to.

§from_priority: Option<f64>

What the priority was changed from.

§to_priority: Option<f64>

What the priority was changed to.

§from_team_id: Option<String>

The id of team from which the issue was moved from.

§to_team_id: Option<String>

The id of team to which the issue was moved to.

§from_parent_id: Option<String>

The id of previous parent of the issue.

§to_parent_id: Option<String>

The id of new parent of the issue.

§from_state_id: Option<String>

The id of previous workflow state of the issue.

§to_state_id: Option<String>

The id of new workflow state of the issue.

§from_cycle_id: Option<String>

The id of previous cycle of the issue.

§to_cycle_id: Option<String>

The id of new cycle of the issue.

§to_converted_project_id: Option<String>

The id of new project created from the issue.

§from_project_id: Option<String>

The id of previous project of the issue.

§to_project_id: Option<String>

The id of new project of the issue.

§from_estimate: Option<f64>

What the estimate was changed from.

§to_estimate: Option<f64>

What the estimate was changed to.

§archived: Option<bool>

Whether the issue is archived at the time of this history entry.

§trashed: Option<bool>

Whether the issue was trashed or un-trashed.

§attachment_id: Option<String>

The id of linked attachment.

§added_label_ids: Option<Vec<String>>

ID’s of labels that were added.

§removed_label_ids: Option<Vec<String>>

ID’s of labels that were removed.

§added_to_release_ids: Option<Vec<String>>

ALPHA ID’s of releases that the issue was added to.

§removed_from_release_ids: Option<Vec<String>>

ALPHA ID’s of releases that the issue was removed from.

§relation_changes: Option<Box<Vec<IssueRelationHistoryPayload>>>

Changed issue relationships.

§auto_closed: Option<bool>

Whether the issue was auto-closed.

§auto_archived: Option<bool>

Whether the issue was auto-archived.

§from_due_date: Option<NaiveDate>

What the due date was changed from.

§to_due_date: Option<NaiveDate>

What the due date was changed to.

§customer_need_id: Option<String>

The id of linked customer need.

§changes: Option<Value>

Internal Serialized JSON representing changes for certain non-relational properties.

§actor: Option<Box<User>>

The actor that performed the actions. This field may be empty in the case of integrations or automations.

§actors: Option<Box<Vec<User>>>

The actors that performed the actions. This field may be empty in the case of integrations or automations.

§description_updated_by: Option<Box<Vec<User>>>

The actors that edited the description of the issue, if any.

§from_assignee: Option<Box<User>>

The user that was unassigned from the issue.

§to_assignee: Option<Box<User>>

The user that was assigned to the issue.

§from_cycle: Option<Box<Cycle>>

The cycle that the issue was moved from.

§to_cycle: Option<Box<Cycle>>

The cycle that the issue was moved to.

§to_converted_project: Option<Box<Project>>

The new project created from the issue.

§from_delegate: Option<Box<User>>

The app user from whom the issue delegation was transferred.

§to_delegate: Option<Box<User>>

The app user to whom the issue delegation was transferred.

§from_project: Option<Box<Project>>

The project that the issue was moved from.

§to_project: Option<Box<Project>>

The project that the issue was moved to.

§from_state: Option<Box<WorkflowState>>

The state that the issue was moved from.

§to_state: Option<Box<WorkflowState>>

The state that the issue was moved to.

§from_team: Option<Box<Team>>

The team that the issue was moved from.

§to_team: Option<Box<Team>>

The team that the issue was moved to.

§from_parent: Option<Box<Issue>>

The parent issue that the issue was moved from.

§to_parent: Option<Box<Issue>>

The parent issue that the issue was moved to.

§attachment: Option<Box<Attachment>>

The linked attachment.

§issue_import: Option<Box<IssueImport>>

The import record.

§triage_responsibility_notified_users: Option<Box<Vec<User>>>

The users that were notified of the issue.

§triage_responsibility_auto_assigned: Option<bool>

Boolean indicating if the issue was auto-assigned using the triage responsibility feature.

§triage_responsibility_team: Option<Box<Team>>

The team that triggered the triage responsibility action.

§from_project_milestone: Option<Box<ProjectMilestone>>

The project milestone that the issue was moved from.

§to_project_milestone: Option<Box<ProjectMilestone>>

The project milestone that the issue was moved to.

§from_sla_started_at: Option<DateTime<Utc>>

The time at which the issue’s SLA was previously started.

§to_sla_started_at: Option<DateTime<Utc>>

The time at which the issue’s SLA is now started.

§from_sla_breaches_at: Option<DateTime<Utc>>

The SLA breach time that was previously set on the issue.

§to_sla_breaches_at: Option<DateTime<Utc>>

The SLA breach time that is now set on the issue.

§from_sla_breached: Option<bool>

Whether the issue had previously breached its SLA.

§to_sla_breached: Option<bool>

Whether the issue has now breached its SLA.

§from_sla_type: Option<String>

The type of SLA that was previously set on the issue.

§to_sla_type: Option<String>

The type of SLA that is now set on the issue.

§bot_actor: Option<Box<ActorBot>>

The bot that performed the action.

§added_labels: Option<Box<Vec<IssueLabel>>>

The labels that were added to the issue.

§removed_labels: Option<Box<Vec<IssueLabel>>>

The labels that were removed from the issue.

§added_to_releases: Option<Box<Vec<Release>>>

The releases that the issue was added to.

§removed_from_releases: Option<Box<Vec<Release>>>

The releases that the issue was removed from.

§triage_rule_metadata: Option<Box<IssueHistoryTriageRuleMetadata>>

INTERNAL Metadata about the triage rule that made changes to the issue.

Trait Implementations§

Source§

impl Clone for IssueHistory

Source§

fn clone(&self) -> IssueHistory

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IssueHistory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IssueHistory

Source§

fn default() -> IssueHistory

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for IssueHistory

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl GraphQLFields for IssueHistory

Source§

type FullType = IssueHistory

The full generated type this implementation validates against.
Source§

fn selection() -> String

Return the GraphQL field selection string for this type. Read more
Source§

impl Serialize for IssueHistory

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> FieldCompatible<T> for T