pub struct JiraInboxConfig {
pub enabled: bool,
pub poll_interval_secs: u64,
pub notify: bool,
pub notify_changes: bool,
pub notify_gone: bool,
pub custom_fields: Vec<JiraCustomField>,
pub sort_by_field: Option<String>,
pub toast_snooze_for: String,
}Expand description
Settings for polling assigned open Jira issues into the local inbox.
Fields§
§enabled: boolWhether the watcher should poll Jira for open assigned issues.
poll_interval_secs: u64Seconds between Jira inbox polls (default 300 = 5 minutes).
notify: boolWhether to show a desktop toast when a new issue appears.
notify_changes: boolWhether to show a toast when an existing issue changes status or priority. Score changes and returns only set the badge.
notify_gone: boolWhether to show a toast when an issue leaves the inbox (closed or reassigned). Off by default.
custom_fields: Vec<JiraCustomField>Extra Jira fields to fetch (custom fields such as Scoring).
sort_by_field: Option<String>Field id used for ranking (DESC), typically Scoring (customfield_…).
toast_snooze_for: StringHow long a toast’s Snooze button sleeps: 3d, 12h, 2w.
Shares its spelling with inbox triage --snooze-for, because a button
and the picker putting an issue to sleep for different lengths would be
two behaviours wearing one word.
Implementations§
Source§impl JiraInboxConfig
impl JiraInboxConfig
Sourcepub fn extra_field_ids(&self) -> Vec<String>
pub fn extra_field_ids(&self) -> Vec<String>
Field ids to request from Jira search (custom fields only).