diff --git a/app/models/command/get_insight.rb b/app/models/command/get_insight.rb index dae83dcef..7872e99a2 100644 --- a/app/models/command/get_insight.rb +++ b/app/models/command/get_insight.rb @@ -67,6 +67,10 @@ class Command::GetInsight < Command Description: #{card.description.to_plain_text} Assigned to: #{card.assignees.map(&:name).join(", ")}} Created at: #{card.created_at}} + Closed: #{card.closed?} + Closed by: #{card.closed_by&.name} + Closed at: #{card.closed_at} + CONTEXT end @@ -76,6 +80,7 @@ class Command::GetInsight < Command Id: #{comment.id} Content: #{comment.body.to_plain_text}} Comment created by: #{comment.creator.name}} + CONTEXT end end