pub struct Team {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 name: Option<String>,
pub key: Option<String>,
pub description: Option<String>,
pub icon: Option<String>,
pub color: Option<String>,
pub retired_at: Option<DateTime<Utc>>,
pub organization: Option<Box<Organization>>,
pub parent: Option<Box<Team>>,
pub children: Option<Box<Vec<Team>>>,
pub cycles_enabled: Option<bool>,
pub cycle_start_day: Option<f64>,
pub cycle_duration: Option<f64>,
pub cycle_cooldown_time: Option<f64>,
pub cycle_issue_auto_assign_started: Option<bool>,
pub cycle_issue_auto_assign_completed: Option<bool>,
pub cycle_lock_to_active: Option<bool>,
pub upcoming_cycle_count: Option<f64>,
pub timezone: Option<String>,
pub inherit_workflow_statuses: Option<bool>,
pub inherit_issue_estimation: Option<bool>,
pub issue_estimation_type: Option<String>,
pub issue_ordering_no_priority_first: Option<bool>,
pub issue_estimation_allow_zero: Option<bool>,
pub set_issue_sort_order_on_state_change: Option<String>,
pub issue_estimation_extended: Option<bool>,
pub default_issue_estimate: Option<f64>,
pub triage_enabled: Option<bool>,
pub require_priority_to_leave_triage: Option<bool>,
pub default_issue_state: Option<Box<WorkflowState>>,
pub default_template_for_members: Option<Box<Template>>,
pub default_template_for_members_id: Option<String>,
pub default_template_for_non_members: Option<Box<Template>>,
pub default_template_for_non_members_id: Option<String>,
pub default_project_template: Option<Box<Template>>,
pub triage_issue_state: Option<Box<WorkflowState>>,
pub private: Option<bool>,
pub all_members_can_join: Option<bool>,
pub security_settings: Option<Value>,
pub facets: Option<Box<Vec<Facet>>>,
pub posts: Option<Box<Vec<Post>>>,
pub scim_managed: Option<bool>,
pub scim_group_name: Option<String>,
pub progress_history: Option<Value>,
pub current_progress: Option<Value>,
pub draft_workflow_state: Option<Box<WorkflowState>>,
pub start_workflow_state: Option<Box<WorkflowState>>,
pub review_workflow_state: Option<Box<WorkflowState>>,
pub mergeable_workflow_state: Option<Box<WorkflowState>>,
pub merge_workflow_state: Option<Box<WorkflowState>>,
pub group_issue_history: Option<bool>,
pub ai_thread_summaries_enabled: Option<bool>,
pub ai_discussion_summaries_enabled: Option<bool>,
pub slack_new_issue: Option<bool>,
pub slack_issue_comments: Option<bool>,
pub slack_issue_statuses: Option<bool>,
pub auto_close_period: Option<f64>,
pub auto_close_state_id: Option<String>,
pub auto_archive_period: Option<f64>,
pub auto_close_parent_issues: Option<bool>,
pub auto_close_child_issues: Option<bool>,
pub marked_as_duplicate_workflow_state: Option<Box<WorkflowState>>,
pub join_by_default: Option<bool>,
pub cycle_calender_url: Option<String>,
pub display_name: Option<String>,
pub issues: Option<Box<IssueConnection>>,
pub issue_count: Option<i64>,
pub cycles: Option<Box<CycleConnection>>,
pub active_cycle: Option<Box<Cycle>>,
pub triage_responsibility: Option<Box<TriageResponsibility>>,
pub members: Option<Box<UserConnection>>,
pub membership: Option<Box<TeamMembership>>,
pub memberships: Option<Box<TeamMembershipConnection>>,
pub projects: Option<Box<ProjectConnection>>,
pub states: Option<Box<WorkflowStateConnection>>,
pub git_automation_states: Option<Box<GitAutomationStateConnection>>,
pub templates: Option<Box<TemplateConnection>>,
pub labels: Option<Box<IssueLabelConnection>>,
pub webhooks: Option<Box<WebhookConnection>>,
pub integrations_settings: Option<Box<IntegrationsSettings>>,
pub issue_sort_order_default_to_bottom: Option<bool>,
pub invite_hash: Option<String>,
}Expand description
An organizational unit that contains issues.
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.
name: Option<String>The team’s name.
key: Option<String>The team’s unique key. The key is used in URLs.
description: Option<String>The team’s description.
icon: Option<String>The icon of the team.
color: Option<String>The team’s color.
retired_at: Option<DateTime<Utc>>The time at which the team was retired. Null if the team has not been retired.
organization: Option<Box<Organization>>The organization that the team is associated with.
parent: Option<Box<Team>>Internal The team’s parent team.
children: Option<Box<Vec<Team>>>Internal The team’s sub-teams.
cycles_enabled: Option<bool>Whether the team uses cycles.
cycle_start_day: Option<f64>The day of the week that a new cycle starts.
cycle_duration: Option<f64>The duration of a cycle in weeks.
cycle_cooldown_time: Option<f64>The cooldown time after each cycle in weeks.
cycle_issue_auto_assign_started: Option<bool>Auto assign started issues to current cycle.
cycle_issue_auto_assign_completed: Option<bool>Auto assign completed issues to current cycle.
cycle_lock_to_active: Option<bool>Auto assign issues to current cycle if in active status.
upcoming_cycle_count: Option<f64>How many upcoming cycles to create.
timezone: Option<String>The timezone of the team. Defaults to “America/Los_Angeles”
inherit_workflow_statuses: Option<bool>Whether the team should inherit its workflow statuses from its parent. Only applies to sub-teams.
inherit_issue_estimation: Option<bool>Whether the team should inherit its estimation settings from its parent. Only applies to sub-teams.
issue_estimation_type: Option<String>The issue estimation type to use. Must be one of “notUsed”, “exponential”, “fibonacci”, “linear”, “tShirt”.
issue_ordering_no_priority_first: Option<bool>DEPRECATED Whether issues without priority should be sorted first.
issue_estimation_allow_zero: Option<bool>Whether to allow zeros in issues estimates.
set_issue_sort_order_on_state_change: Option<String>Where to move issues when changing state.
issue_estimation_extended: Option<bool>Whether to add additional points to the estimate scale.
default_issue_estimate: Option<f64>What to use as a default estimate for unestimated issues.
triage_enabled: Option<bool>Whether triage mode is enabled for the team or not.
require_priority_to_leave_triage: Option<bool>Whether an issue needs to have a priority set before leaving triage.
default_issue_state: Option<Box<WorkflowState>>The default workflow state into which issues are set when they are opened by team members.
default_template_for_members: Option<Box<Template>>The default template to use for new issues created by members of the team.
default_template_for_members_id: Option<String>The id of the default template to use for new issues created by members of the team.
default_template_for_non_members: Option<Box<Template>>The default template to use for new issues created by non-members of the team.
default_template_for_non_members_id: Option<String>The id of the default template to use for new issues created by non-members of the team.
default_project_template: Option<Box<Template>>The default template to use for new projects created for the team.
triage_issue_state: Option<Box<WorkflowState>>The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled.
private: Option<bool>Whether the team is private or not.
all_members_can_join: Option<bool>Whether all members in the workspace can join the team. Only used for public teams.
security_settings: Option<Value>Security settings for the team.
facets: Option<Box<Vec<Facet>>>Internal Facets associated with the team.
posts: Option<Box<Vec<Post>>>Internal Posts associated with the team.
scim_managed: Option<bool>Whether the team is managed by SCIM integration.
scim_group_name: Option<String>The SCIM group name for the team.
progress_history: Option<Value>Internal The progress history of the team.
current_progress: Option<Value>Internal The current progress of the team.
draft_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when a PR has been opened as draft.
start_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when a PR has been opened.
review_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when a review has been requested for the PR.
mergeable_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when a PR is ready to be merged.
merge_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when a PR has been merged.
group_issue_history: Option<bool>Whether to group recent issue history entries.
ai_thread_summaries_enabled: Option<bool>Whether to enable resolved thread AI summaries.
ai_discussion_summaries_enabled: Option<bool>Whether to enable AI discussion summaries for issues in this team.
slack_new_issue: Option<bool>Whether to send new issue notifications to Slack.
slack_issue_comments: Option<bool>Whether to send new issue comment notifications to Slack.
slack_issue_statuses: Option<bool>Whether to send new issue status updates to Slack.
auto_close_period: Option<f64>Period after which issues are automatically closed in months. Null/undefined means disabled.
auto_close_state_id: Option<String>The canceled workflow state which auto closed issues will be set to. Defaults to the first canceled state.
auto_archive_period: Option<f64>Period after which automatically closed and completed issues are automatically archived in months.
auto_close_parent_issues: Option<bool>Whether parent issues should automatically close when all child issues are closed
auto_close_child_issues: Option<bool>Whether child issues should automatically close when their parent issue is closed
marked_as_duplicate_workflow_state: Option<Box<WorkflowState>>The workflow state into which issues are moved when they are marked as a duplicate of another issue. Defaults to the first canceled state.
join_by_default: Option<bool>Internal Whether new users should join this team by default.
cycle_calender_url: Option<String>Calendar feed URL (iCal) for cycles.
display_name: Option<String>The name of the team including its parent team name if it has one.
issues: Option<Box<IssueConnection>>Issues associated with the team.
issue_count: Option<i64>Number of issues in the team.
cycles: Option<Box<CycleConnection>>Cycles associated with the team.
active_cycle: Option<Box<Cycle>>Team’s currently active cycle.
triage_responsibility: Option<Box<TriageResponsibility>>Team’s triage responsibility.
members: Option<Box<UserConnection>>Users who are members of this team.
membership: Option<Box<TeamMembership>>ALPHA The membership of the given user in the team.
memberships: Option<Box<TeamMembershipConnection>>Memberships associated with the team. For easier access of the same data, use members query.
projects: Option<Box<ProjectConnection>>Projects associated with the team.
states: Option<Box<WorkflowStateConnection>>The states that define the workflow associated with the team.
git_automation_states: Option<Box<GitAutomationStateConnection>>The Git automation states for the team.
templates: Option<Box<TemplateConnection>>Templates associated with the team.
labels: Option<Box<IssueLabelConnection>>Labels associated with the team.
webhooks: Option<Box<WebhookConnection>>Webhooks associated with the team.
integrations_settings: Option<Box<IntegrationsSettings>>Settings for all integrations associated with that team.
issue_sort_order_default_to_bottom: Option<bool>DEPRECATED Whether to move issues to bottom of the column when changing state.
invite_hash: Option<String>DEPRECATED Unique hash for the team to be used in invite URLs.