Skip to main content

IssueSearchResult

Struct IssueSearchResult 

Source
pub struct IssueSearchResult {
Show 85 fields pub id: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub archived_at: Option<DateTime<Utc>>, pub number: Option<f64>, pub title: Option<String>, pub priority: Option<f64>, pub estimate: Option<f64>, pub board_order: Option<f64>, pub sort_order: Option<f64>, pub priority_sort_order: Option<f64>, pub started_at: Option<DateTime<Utc>>, pub completed_at: Option<DateTime<Utc>>, pub started_triage_at: Option<DateTime<Utc>>, pub triaged_at: Option<DateTime<Utc>>, pub canceled_at: Option<DateTime<Utc>>, pub auto_closed_at: Option<DateTime<Utc>>, pub auto_archived_at: Option<DateTime<Utc>>, pub due_date: Option<NaiveDate>, pub sla_started_at: Option<DateTime<Utc>>, pub sla_medium_risk_at: Option<DateTime<Utc>>, pub sla_high_risk_at: Option<DateTime<Utc>>, pub sla_breaches_at: Option<DateTime<Utc>>, pub sla_type: Option<String>, pub added_to_project_at: Option<DateTime<Utc>>, pub added_to_cycle_at: Option<DateTime<Utc>>, pub added_to_team_at: Option<DateTime<Utc>>, pub trashed: Option<bool>, pub snoozed_until_at: Option<DateTime<Utc>>, pub suggestions_generated_at: Option<DateTime<Utc>>, pub activity_summary: Option<Value>, pub summary: Option<Summary>, pub label_ids: Option<Vec<String>>, pub team: Option<Team>, pub cycle: Option<Cycle>, pub project: Option<Project>, pub project_milestone: Option<ProjectMilestone>, pub last_applied_template: Option<Template>, pub recurring_issue_template: Option<Template>, pub previous_identifiers: Option<Vec<String>>, pub creator: Option<User>, pub external_user_creator: Option<ExternalUser>, pub assignee: Option<User>, pub delegate: Option<User>, pub snoozed_by: Option<User>, pub state: Option<WorkflowState>, pub sub_issue_sort_order: Option<f64>, pub reaction_data: Option<Value>, pub priority_label: Option<String>, pub source_comment: Option<Comment>, pub integration_source_type: Option<IntegrationService>, pub inherits_shared_access: Option<bool>, pub documents: Option<DocumentConnection>, pub bot_actor: Option<ActorBot>, pub favorite: Option<Favorite>, pub identifier: Option<String>, pub url: Option<String>, pub branch_name: Option<String>, pub shared_access: Option<IssueSharedAccess>, pub customer_ticket_count: Option<i64>, pub subscribers: Option<UserConnection>, pub parent: Option<Issue>, pub children: Option<IssueConnection>, pub comments: Option<CommentConnection>, pub ai_prompt_progresses: Option<AiPromptProgressConnection>, pub history: Option<IssueHistoryConnection>, pub labels: Option<IssueLabelConnection>, pub relations: Option<IssueRelationConnection>, pub inverse_relations: Option<IssueRelationConnection>, pub attachments: Option<AttachmentConnection>, pub former_attachments: Option<AttachmentConnection>, pub description: Option<String>, pub description_state: Option<String>, pub document_content: Option<DocumentContent>, pub reactions: Option<Vec<Reaction>>, pub needs: Option<CustomerNeedConnection>, pub former_needs: Option<CustomerNeedConnection>, pub releases: Option<ReleaseConnection>, pub synced_with: Option<Vec<ExternalEntityInfo>>, pub suggestions: Option<IssueSuggestionConnection>, pub incoming_suggestions: Option<IssueSuggestionConnection>, pub asks_requester: Option<User>, pub asks_external_user_requester: Option<ExternalUser>, pub state_history: Option<IssueStateSpanConnection>, pub metadata: Option<Value>,
}

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.

§number: Option<f64>

The issue’s unique number, scoped to the issue’s team. Together with the team key, this forms the issue’s human-readable identifier (e.g., ENG-123).

§title: Option<String>

The issue’s title. This is the primary human-readable summary of the work item.

§priority: Option<f64>

The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low.

§estimate: Option<f64>

The estimate of the complexity of the issue. The specific scale used depends on the team’s estimation configuration (e.g., points, T-shirt sizes). Null if no estimate has been set.

§board_order: Option<f64>

The order of the item in its column on the board.

§sort_order: Option<f64>

The order of the item in relation to other items in the organization. Used for manual sorting in list views.

§priority_sort_order: Option<f64>

The order of the item in relation to other items in the workspace, when ordered by priority.

§started_at: Option<DateTime<Utc>>

The time at which the issue was moved into started state.

§completed_at: Option<DateTime<Utc>>

The time at which the issue was moved into completed state.

§started_triage_at: Option<DateTime<Utc>>

The time at which the issue entered triage.

§triaged_at: Option<DateTime<Utc>>

The time at which the issue left triage.

§canceled_at: Option<DateTime<Utc>>

The time at which the issue was moved into canceled state.

§auto_closed_at: Option<DateTime<Utc>>

The time at which the issue was automatically closed by the auto pruning process.

§auto_archived_at: Option<DateTime<Utc>>

The time at which the issue was automatically archived by the auto pruning process.

§due_date: Option<NaiveDate>

The date at which the issue is due.

§sla_started_at: Option<DateTime<Utc>>

The time at which the issue’s SLA began.

§sla_medium_risk_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will enter medium risk state.

§sla_high_risk_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will enter high risk state.

§sla_breaches_at: Option<DateTime<Utc>>

The time at which the issue’s SLA will breach.

§sla_type: Option<String>

The type of SLA set on the issue. Calendar days or business days.

§added_to_project_at: Option<DateTime<Utc>>

The time at which the issue was added to a project.

§added_to_cycle_at: Option<DateTime<Utc>>

The time at which the issue was added to a cycle.

§added_to_team_at: Option<DateTime<Utc>>

The time at which the issue was added to a team.

§trashed: Option<bool>

A flag that indicates whether the issue is in the trash bin.

§snoozed_until_at: Option<DateTime<Utc>>

The time until an issue will be snoozed in Triage view.

§suggestions_generated_at: Option<DateTime<Utc>>

Internal The time at which the most recent suggestions for this issue were generated.

§activity_summary: Option<Value>

Internal The activity summary information for this issue.

§summary: Option<Summary>

Internal AI-generated activity summary for this issue.

§label_ids: Option<Vec<String>>

Identifiers of the labels associated with this issue. Can be used to query the labels directly.

§team: Option<Team>

The team that the issue belongs to. Every issue must belong to exactly one team, which determines the available workflow states, labels, and other team-specific configuration.

§cycle: Option<Cycle>

The cycle that the issue is associated with. Null if the issue is not part of any cycle.

§project: Option<Project>

The project that the issue is associated with. Null if the issue is not part of any project.

§project_milestone: Option<ProjectMilestone>

The project milestone that the issue is associated with. Null if the issue is not assigned to a specific milestone within its project.

§last_applied_template: Option<Template>

The last template that was applied to this issue.

§recurring_issue_template: Option<Template>

The recurring issue template that created this issue.

§previous_identifiers: Option<Vec<String>>

Previous identifiers of the issue if it has been moved between teams.

§creator: Option<User>

The user who created the issue. Null if the creator’s account has been deleted or if the issue was created by an integration or system process.

§external_user_creator: Option<ExternalUser>

The external user who created the issue. Set when the issue was created via an integration (e.g., Slack, Intercom) on behalf of a non-Linear user. Null if the issue was created by a Linear user.

§assignee: Option<User>

The user to whom the issue is assigned. Null if the issue is unassigned.

§delegate: Option<User>

The agent user that is delegated to work on this issue. Set when an AI agent has been assigned to perform work on this issue. Null if no agent is working on the issue.

§snoozed_by: Option<User>

The user who snoozed the issue.

§state: Option<WorkflowState>

The workflow state (issue status) that the issue is currently in. Workflow states represent the issue’s progress through the team’s workflow, such as Triage, Todo, In Progress, Done, or Canceled.

§sub_issue_sort_order: Option<f64>

The order of the item in the sub-issue list. Only set if the issue has a parent.

§reaction_data: Option<Value>

Emoji reaction summary for the issue, grouped by emoji type. Contains the count and reacting user information for each emoji.

§priority_label: Option<String>

Label for the priority.

§source_comment: Option<Comment>

The comment that this issue was created from, when an issue is created from an existing comment. Null if the issue was not created from a comment.

§integration_source_type: Option<IntegrationService>

Integration type that created this issue, if applicable.

§inherits_shared_access: Option<bool>

Whether this issue inherits shared access from its parent issue.

§documents: Option<DocumentConnection>

Documents associated with the issue.

§bot_actor: Option<ActorBot>

The bot that created the issue, if applicable.

§favorite: Option<Favorite>

The users favorite associated with this issue.

§identifier: Option<String>

Issue’s human readable identifier (e.g. ENG-123).

§url: Option<String>

Issue URL.

§branch_name: Option<String>

Suggested branch name for the issue.

§shared_access: Option<IssueSharedAccess>

Shared access metadata for this issue.

§customer_ticket_count: Option<i64>

Returns the number of Attachment resources which are created by customer support ticketing systems (e.g. Zendesk).

§subscribers: Option<UserConnection>

Users who are subscribed to the issue.

§parent: Option<Issue>

The parent of the issue.

§children: Option<IssueConnection>

Children of the issue.

§comments: Option<CommentConnection>

Comments associated with the issue.

§ai_prompt_progresses: Option<AiPromptProgressConnection>

Internal AI prompt progresses associated with this issue.

§history: Option<IssueHistoryConnection>

History entries associated with the issue.

§labels: Option<IssueLabelConnection>

Labels associated with this issue.

§relations: Option<IssueRelationConnection>

Relations associated with this issue.

§inverse_relations: Option<IssueRelationConnection>

Inverse relations associated with this issue.

§attachments: Option<AttachmentConnection>

Attachments associated with the issue.

§former_attachments: Option<AttachmentConnection>

Attachments previously associated with the issue before being moved to another issue.

§description: Option<String>

The issue’s description in markdown format.

§description_state: Option<String>

Internal The issue’s description content as YJS state.

§document_content: Option<DocumentContent>

ALPHA The document content representing this issue description.

§reactions: Option<Vec<Reaction>>

Reactions associated with the issue.

§needs: Option<CustomerNeedConnection>

Customer needs associated with the issue.

§former_needs: Option<CustomerNeedConnection>

Customer needs previously associated with the issue before being moved to another issue.

§releases: Option<ReleaseConnection>

ALPHA Releases associated with the issue.

§synced_with: Option<Vec<ExternalEntityInfo>>

The external services the issue is synced with.

§suggestions: Option<IssueSuggestionConnection>

Internal Product Intelligence suggestions for the issue.

§incoming_suggestions: Option<IssueSuggestionConnection>

Internal Incoming product intelligence relation suggestions for the issue.

§asks_requester: Option<User>

The internal user who requested creation of the Asks issue on behalf of the creator.

§asks_external_user_requester: Option<ExternalUser>

The external user who requested creation of the Asks issue on behalf of the creator.

§state_history: Option<IssueStateSpanConnection>

The issue’s workflow states over time.

§metadata: Option<Value>

Metadata related to search result.

Trait Implementations§

Source§

impl Clone for IssueSearchResult

Source§

fn clone(&self) -> IssueSearchResult

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 IssueSearchResult

Source§

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

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

impl Default for IssueSearchResult

Source§

fn default() -> IssueSearchResult

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

impl<'de> Deserialize<'de> for IssueSearchResult

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 IssueSearchResult

Source§

type FullType = IssueSearchResult

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 IssueSearchResult

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