lib/ruboty/handlers/jira.rb in ruboty-jira-0.2.0 vs lib/ruboty/handlers/jira.rb in ruboty-jira-0.3.0
- old
+ new
@@ -8,10 +8,10 @@
on(/jira details ?(?<issue>.+)/,
name: 'issue_detail',
description: 'issue')
- on(/jira comment ?(?<issue>.+) ?(?<comment>.+) /,
+ on(/jira comment on (?<issue>\S+) (?<comment>.+)/,
name: 'comment',
description: 'comment to issue')
on(%r{#{ENV['JIRA_URL']}\/browse\/?(?<issue>.+)},
all: true, name: 'issue_detail',