Show additional data on ticket creation confirmation
This commit is contained in:
parent
43e32a303d
commit
219f116891
1 changed files with 12 additions and 2 deletions
|
@ -376,9 +376,19 @@ pub async fn create(
|
||||||
|
|
||||||
// Confirm creation
|
// Confirm creation
|
||||||
println!("\nAbout to create ticket:");
|
println!("\nAbout to create ticket:");
|
||||||
|
println!("Project: {}", selected_project);
|
||||||
|
if let Some(status) = &metadata.status {
|
||||||
|
println!("Status: {}", status);
|
||||||
|
}
|
||||||
|
if let Some(assignee) = &metadata.assignee {
|
||||||
|
println!("Assignee: {}", assignee);
|
||||||
|
}
|
||||||
|
if let Some(parent) = &metadata.parent {
|
||||||
|
println!("Parent: {}", parent);
|
||||||
|
}
|
||||||
println!("Title: {}", title);
|
println!("Title: {}", title);
|
||||||
println!("{}", description);
|
|
||||||
// println!("{}...", &description.chars().take(100).collect::<String>());
|
println!("Description:\n{}", description);
|
||||||
println!("\nPress Enter to continue or Ctrl+C to abort");
|
println!("\nPress Enter to continue or Ctrl+C to abort");
|
||||||
|
|
||||||
let mut input = String::new();
|
let mut input = String::new();
|
||||||
|
|
Loading…
Reference in a new issue