Skip to main content

devboy_jira/
lib.rs

1//! Jira provider implementation for devboy-tools.
2//!
3//! This crate provides integration with Jira API for issues.
4//! Supports both Jira Cloud (API v3) and Jira Self-Hosted/Data Center (API v2).
5//! Jira does not have merge requests, so MR operations return
6//! `ProviderUnsupported` errors.
7
8#![deny(rustdoc::broken_intra_doc_links)]
9#![deny(rustdoc::private_intra_doc_links)]
10#![deny(rustdoc::invalid_html_tags)]
11mod client;
12pub mod enricher;
13pub mod metadata;
14mod types;
15
16pub use client::{JiraClient, JiraFlavor};
17pub use enricher::JiraSchemaEnricher;
18pub use metadata::JiraMetadata;
19// Curated re-export. Only types meant for downstream consumers are
20// surfaced — wire DTOs (JiraIssue, JiraIssueFields, CreateIssuePayload,
21// JiraSearchResponse, the Structure plugin payloads, etc.) stay
22// internal so the public API doesn't lock us into the raw Jira REST
23// shape across SemVer bumps. If you need a wire DTO out of this
24// crate, file an issue.
25pub use types::{JiraField, JiraFieldSchema};