diff --git a/pkg/cli/commands/update.go b/pkg/cli/commands/update.go index 6a262d6..03f5754 100644 --- a/pkg/cli/commands/update.go +++ b/pkg/cli/commands/update.go @@ -116,7 +116,7 @@ func runUpdateCmd(cmd *cobra.Command, args []string) error { str += fmt.Sprintf("Type: %s\n", updatedIssue.IssueType) } - if updatedIssue.Priority != 0 { + if cmd.Flags().Changed("priority") { str += fmt.Sprintf("Priority: %d\n", updatedIssue.Priority) }