pub struct Organization {Show 77 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 url_key: Option<String>,
pub logo_url: Option<String>,
pub period_upload_volume: Option<f64>,
pub facets: Option<Vec<Facet>>,
pub git_branch_format: Option<String>,
pub git_linkback_messages_enabled: Option<bool>,
pub git_public_linkback_messages_enabled: Option<bool>,
pub git_linkback_descriptions_enabled: Option<bool>,
pub roadmap_enabled: Option<bool>,
pub project_update_reminder_frequency_in_weeks: Option<f64>,
pub project_update_reminders_day: Option<Day>,
pub project_update_reminders_hour: Option<f64>,
pub initiative_update_reminder_frequency_in_weeks: Option<f64>,
pub initiative_update_reminders_day: Option<Day>,
pub initiative_update_reminders_hour: Option<f64>,
pub fiscal_year_start_month: Option<f64>,
pub working_days: Option<Vec<f64>>,
pub saml_enabled: Option<bool>,
pub saml_settings: Option<Value>,
pub scim_enabled: Option<bool>,
pub scim_settings: Option<Value>,
pub security_settings: Option<Value>,
pub auth_settings: Option<Value>,
pub allowed_auth_services: Option<Vec<String>>,
pub allowed_file_upload_content_types: Option<Vec<String>>,
pub ip_restrictions: Option<Vec<OrganizationIpRestriction>>,
pub deletion_requested_at: Option<DateTime<Utc>>,
pub trial_ends_at: Option<DateTime<Utc>>,
pub trial_starts_at: Option<DateTime<Utc>>,
pub previous_url_keys: Option<Vec<String>>,
pub restrict_agent_invocation_to_members: Option<bool>,
pub hipaa_compliance_enabled: Option<bool>,
pub theme_settings: Option<Value>,
pub release_channel: Option<ReleaseChannel>,
pub customers_configuration: Option<Value>,
pub code_intelligence_enabled: Option<bool>,
pub code_intelligence_repository: Option<String>,
pub default_feed_summary_schedule: Option<FeedSummarySchedule>,
pub feed_enabled: Option<bool>,
pub hide_non_primary_organizations: Option<bool>,
pub ai_addon_enabled: Option<bool>,
pub agent_automation_enabled: Option<bool>,
pub generated_updates_enabled: Option<bool>,
pub ai_thread_summaries_enabled: Option<bool>,
pub ai_discussion_summaries_enabled: Option<bool>,
pub ai_provider_configuration: Option<Value>,
pub linear_agent_enabled: Option<bool>,
pub linear_agent_settings: Option<Value>,
pub coding_agent_enabled: Option<bool>,
pub sla_day_count: Option<SLADayCountType>,
pub project_updates_reminder_frequency: Option<ProjectUpdateReminderFrequency>,
pub allowed_ai_providers: Option<Vec<String>>,
pub users: Option<UserConnection>,
pub teams: Option<TeamConnection>,
pub project_statuses: Option<Vec<ProjectStatus>>,
pub integrations: Option<IntegrationConnection>,
pub slack_project_channel_integration: Option<Box<Integration>>,
pub slack_project_channel_prefix: Option<String>,
pub slack_project_channels_enabled: Option<bool>,
pub slack_auto_create_project_channel: Option<bool>,
pub subscription: Option<Box<PaidSubscription>>,
pub user_count: Option<i64>,
pub created_issue_count: Option<i64>,
pub templates: Option<TemplateConnection>,
pub labels: Option<IssueLabelConnection>,
pub project_labels: Option<ProjectLabelConnection>,
pub customer_count: Option<i64>,
pub customers_enabled: Option<bool>,
pub releases_enabled: Option<bool>,
pub allow_members_to_invite: Option<bool>,
pub restrict_team_creation_to_admins: Option<bool>,
pub restrict_label_management_to_admins: Option<bool>,
}Expand description
A workspace (referred to as Organization in the API). Workspaces are the root-level container for all teams, users, projects, issues, and settings. Every user belongs to at least one workspace, and all data is scoped within a workspace boundary.
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 workspace’s name.
url_key: Option<String>The workspace’s unique URL key, used in URLs to identify the workspace.
logo_url: Option<String>The URL of the workspace’s logo image. Null if no logo has been uploaded.
period_upload_volume: Option<f64>Rolling 30-day total file upload volume for the workspace, measured in megabytes. Used for enforcing upload quotas.
facets: Option<Vec<Facet>>Internal Facets associated with the workspace, used for configuring custom views and filters.
git_branch_format: Option<String>The template format for Git branch names created from issues. Supports template variables like {issueIdentifier} and {issueTitle}. If null, the default formatting will be used.
git_linkback_messages_enabled: Option<bool>Whether the Git integration linkback messages should be posted as comments on pull requests in private repositories.
git_public_linkback_messages_enabled: Option<bool>Whether the Git integration linkback messages should be posted as comments on pull requests in public repositories.
git_linkback_descriptions_enabled: Option<bool>Whether issue descriptions should be included in the Git integration linkback messages posted to pull requests.
roadmap_enabled: Option<bool>Whether the roadmap feature is enabled for the workspace.
project_update_reminder_frequency_in_weeks: Option<f64>The frequency in weeks at which to prompt for project updates. When null, project update reminders are disabled. Valid values range from 0 to 8.
project_update_reminders_day: Option<Day>The day of the week on which project update reminders are sent.
project_update_reminders_hour: Option<f64>The hour of the day (0-23) at which project update reminders are sent.
initiative_update_reminder_frequency_in_weeks: Option<f64>The frequency in weeks at which to prompt for initiative updates. When null, initiative update reminders are disabled. Valid values range from 0 to 8.
initiative_update_reminders_day: Option<Day>The day of the week on which initiative update reminders are sent.
initiative_update_reminders_hour: Option<f64>The hour of the day (0-23) at which initiative update reminders are sent.
fiscal_year_start_month: Option<f64>The zero-indexed month at which the fiscal year starts (0 = January, 11 = December). Defaults to 0 (January).
working_days: Option<Vec<f64>>Internal The list of working days. Sunday is 0, Monday is 1, etc.
saml_enabled: Option<bool>Whether SAML-based single sign-on authentication is enabled for the workspace.
saml_settings: Option<Value>INTERNAL SAML settings.
scim_enabled: Option<bool>Whether SCIM provisioning is enabled for the workspace, allowing automated user and team management from an identity provider.
scim_settings: Option<Value>INTERNAL SCIM settings.
security_settings: Option<Value>Security settings for the workspace, including role-based restrictions for invitations, team creation, label management, and other sensitive operations.
auth_settings: Option<Value>Authentication settings for the workspace, including allowed auth providers, bypass rules, and organization visibility during signup.
allowed_auth_services: Option<Vec<String>>Allowed authentication providers, empty array means all are allowed.
allowed_file_upload_content_types: Option<Vec<String>>Allowed file upload content types
ip_restrictions: Option<Vec<OrganizationIpRestriction>>IP restriction configurations.
deletion_requested_at: Option<DateTime<Utc>>The time at which deletion of the workspace was requested. Null if no deletion has been requested.
trial_ends_at: Option<DateTime<Utc>>The time at which the current plan trial will end. Null if the workspace is not in a trial period.
trial_starts_at: Option<DateTime<Utc>>The time at which the current plan trial started. Null if the workspace is not in a trial period.
previous_url_keys: Option<Vec<String>>Previously used URL keys for the workspace. The last 3 are kept and automatically redirected to the current URL key.
restrict_agent_invocation_to_members: Option<bool>Internal Whether agent invocation is restricted to full workspace members.
hipaa_compliance_enabled: Option<bool>Whether HIPAA compliance is enabled for the workspace. When enabled, certain data processing features are restricted to meet compliance requirements.
theme_settings: Option<Value>ALPHA Theme settings for the workspace.
release_channel: Option<ReleaseChannel>The feature release channel the workspace belongs to, which controls access to pre-release features.
customers_configuration: Option<Value>Configuration settings for the Customers feature, including revenue currency and other customer tracking preferences.
code_intelligence_enabled: Option<bool>INTERNAL Whether code intelligence is enabled for the workspace.
code_intelligence_repository: Option<String>INTERNAL GitHub repository in owner/repo format for code intelligence.
default_feed_summary_schedule: Option<FeedSummarySchedule>Default schedule for how often feed summaries are generated.
feed_enabled: Option<bool>Whether the activity feed feature is enabled for the workspace.
hide_non_primary_organizations: Option<bool>Whether to hide other organizations for new users signing up with email domains claimed by this organization.
ai_addon_enabled: Option<bool>INTERNAL Whether the workspace has enabled the AI add-on (which at this point only includes triage suggestions).
agent_automation_enabled: Option<bool>INTERNAL Whether the workspace has enabled agent automation.
generated_updates_enabled: Option<bool>INTERNAL Whether the workspace has enabled generated updates.
ai_thread_summaries_enabled: Option<bool>Whether the workspace has enabled resolved thread AI summaries.
ai_discussion_summaries_enabled: Option<bool>Whether the workspace has enabled AI discussion summaries for issues.
ai_provider_configuration: Option<Value>INTERNAL Configure per-modality AI host providers and model families.
linear_agent_enabled: Option<bool>Internal Whether the workspace has enabled Linear Agent.
linear_agent_settings: Option<Value>Internal Settings for Linear Agent features.
coding_agent_enabled: Option<bool>INTERNAL Whether the workspace has enabled the Coding Agent.
sla_day_count: Option<SLADayCountType>DEPRECATED Which day count to use for SLA calculations.
project_updates_reminder_frequency: Option<ProjectUpdateReminderFrequency>DEPRECATED The frequency at which to prompt for project updates.
allowed_ai_providers: Option<Vec<String>>INTERNAL Permitted AI providers.
users: Option<UserConnection>Users belonging to the workspace. By default only returns active users; use the includeDisabled argument to include deactivated users.
teams: Option<TeamConnection>Teams in the workspace. Returns only teams visible to the requesting user (all public teams plus private teams the user is a member of).
project_statuses: Option<Vec<ProjectStatus>>The workspace’s available project statuses, which define the lifecycle stages for projects.
integrations: Option<IntegrationConnection>Third-party integrations configured for the workspace (e.g., GitHub, Slack, Figma).
slack_project_channel_integration: Option<Box<Integration>>The Slack integration used for auto-creating project channels.
slack_project_channel_prefix: Option<String>The prefix used for auto-created Slack project channels.
slack_project_channels_enabled: Option<bool>Internal Whether the Slack project channels feature is enabled for the workspace.
slack_auto_create_project_channel: Option<bool>Internal Whether to automatically create a Slack channel when a new project is created.
subscription: Option<Box<PaidSubscription>>The workspace’s subscription to a paid plan.
user_count: Option<i64>The number of active (non-deactivated) users in the workspace.
created_issue_count: Option<i64>Approximate total number of issues created in the workspace, including archived ones. This count is cached and may not reflect the exact real-time count.
templates: Option<TemplateConnection>Workspace-level templates (not associated with any specific team). These templates are available across all teams in the workspace.
labels: Option<IssueLabelConnection>Workspace-level issue labels (not associated with any specific team). These labels are available across all teams in the workspace.
project_labels: Option<ProjectLabelConnection>Project labels available in the workspace for categorizing projects.
customer_count: Option<i64>The number of active (non-archived) customers tracked in the workspace.
customers_enabled: Option<bool>Whether the Customers feature is enabled and accessible for the workspace based on the current plan.
releases_enabled: Option<bool>Internal Whether release management is enabled for the workspace.
allow_members_to_invite: Option<bool>DEPRECATED Whether member users are allowed to send invites.
restrict_team_creation_to_admins: Option<bool>DEPRECATED Whether team creation is restricted to admins.
restrict_label_management_to_admins: Option<bool>DEPRECATED Whether workspace label creation, update, and deletion is restricted to admins.
Trait Implementations§
Source§impl Clone for Organization
impl Clone for Organization
Source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more