pub struct JiraIssue {
pub key: String,
pub summary: String,
pub description_adf: Option<Value>,
pub status: Option<String>,
pub issue_type: Option<String>,
pub assignee: Option<String>,
pub priority: Option<String>,
pub labels: Vec<String>,
pub custom_fields: Vec<JiraCustomField>,
}Expand description
JIRA issue data returned by GET /rest/api/3/issue/{key}.
The custom_fields vector is selection-gated:
it is empty under the default FieldSelection::Standard and only
populated when the request used FieldSelection::Named or
FieldSelection::All.
Fields§
§key: StringIssue key (e.g., “PROJ-123”).
summary: StringIssue summary (title).
description_adf: Option<Value>Issue description as raw ADF JSON (may be null).
status: Option<String>Issue status name.
issue_type: Option<String>Issue type name.
assignee: Option<String>Assignee display name.
priority: Option<String>Priority name.
labels: Vec<String>Labels.
custom_fields: Vec<JiraCustomField>Custom fields populated on the issue. Non-empty only when the fetch
was made with FieldSelection::Named or FieldSelection::All.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JiraIssue
impl RefUnwindSafe for JiraIssue
impl Send for JiraIssue
impl Sync for JiraIssue
impl Unpin for JiraIssue
impl UnsafeUnpin for JiraIssue
impl UnwindSafe for JiraIssue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more