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

Description
Before we start...:
Branch/Commit:
main branch.
Describe the feature:
As a person submitting entries
I do sometimes make mistakes
And then I submit entries that don't have a JIRA id or URL
And then I would like to see a notification in Slack at the end of the day
Problem:
As a Noko and JIRA user
I want to submit entries that include a JIRA ID or URL
So that I can have traceability to figure out how much time I spent on a JIRA story/task/sub-task/epic
Resources:
Once a day, we should have a scheduled job that reviews all the entries submitted by the team during that day. The task should probably run every weekday at 8pm PST.
The job would check that the entries are well formed. They should meet this criteria:
- They should have a description that is more than two words.
- If the entry doesn't have a #calls label, then it should have a JIRA ID.
- If the entry doesn't have a JIRA ID or URL, then it should notify the person in Slack
The notification should include a list of entries that look suspicious. Here is a template:
@etagwerker Hi Ernesto, I found these entries that are missing a JIRA ticket or ID:
- Did work (3 hours)
- Worked on stuff (1 hour)
Please make sure that these entries are accurate. If they are all good, great! If not, please make sure you fix them so you don't get penalized for any of them!
You will need to use:
I will abide by the code of conduct