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

[REQUEST] Send a smart notification via Slack DM for people submitting entries that don't meet minimum criteria #98

@etagwerker

Description

@etagwerker

Before we start...:

  • I checked the documentation and didn't find this feature
  • I checked to make sure that this feature has not already been requested

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions