pub struct CreateIssueFields {
pub project: ProjectKey,
pub summary: String,
pub issuetype: IssueType,
pub description: Option<Value>,
pub labels: Option<Vec<String>>,
pub priority: Option<PriorityName>,
pub assignee: Option<Value>,
pub components: Option<Vec<ComponentRef>>,
pub parent: Option<IssueKeyRef>,
}Expand description
Fields for creating an issue.
Fields§
§project: ProjectKey§summary: StringSummary (title)
issuetype: IssueTypeIssue type
description: Option<Value>Description — plain text (v2) or ADF (v3)
labels: Option<Vec<String>>§priority: Option<PriorityName>§assignee: Option<Value>§components: Option<Vec<ComponentRef>>Components (issue #197).
parent: Option<IssueKeyRef>Parent issue reference. Required by Jira when issuetype is a
sub-task or any “is_subtask” hierarchical type — the API rejects
the request with a 400 otherwise (issue #214). Serialised as
{ "key": "PROJ-1" }, matching Jira’s fields.parent shape.
Uses IssueKeyRef (not ProjectKey) because the value is an
issue key (e.g. PROJ-1), not a project key (e.g. PROJ).
Trait Implementations§
Source§impl Clone for CreateIssueFields
impl Clone for CreateIssueFields
Source§fn clone(&self) -> CreateIssueFields
fn clone(&self) -> CreateIssueFields
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateIssueFields
impl Debug for CreateIssueFields
Auto Trait Implementations§
impl Freeze for CreateIssueFields
impl RefUnwindSafe for CreateIssueFields
impl Send for CreateIssueFields
impl Sync for CreateIssueFields
impl Unpin for CreateIssueFields
impl UnsafeUnpin for CreateIssueFields
impl UnwindSafe for CreateIssueFields
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