This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Description
Expected Behavior
When I log a time entry like this one:
Worked on PROJECT-1235: Solved bug and submitted PR
I should not get a notification from the Slackbot.
Actual Behavior
When I log a time entry like this one:
Worked on PROJECT-1235: Solved bug and submitted PR
I get a notification from the Slackbot.
Possible Fix
Improve the regular expression. The : is throwing things off.
To Reproduce
- Log an entry with
PROJECT-123: in Noko
- Get a notification around 8pm
Additional Information
Here is more info:
|
def has_word_count? |
|
if has_jira_ticket? |
|
@description.split.size > 1 |
|
else |
|
@description.split.size > 0 |
|
end |
|
end |
|
JIRA_REGEX = /(?:\s|^)([A-Z]+-[0-9]+)(?=\s|$)/ |
I will abide by the code of conduct