linkedin / linkedin/iris

target_contact entry for targets of type team

Open
#412 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
845
Forks
146
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've finally gotten Iris and Oncall integrated but I have a question.

It would seem the default behavior when a target is `team` is to individually email all members of a given team, rather than looking in the `target_contact` table to see if a defined team in the database has a `mode` assigned to it. For instance, I can see in my `target` table that I have a team with a `type_id` of 2, which of course means team, but the way the tables are structured it would seem as though I can assign a `mode` to any `target` in `target_contact`.

I think it would make sense for the app to look at this first before determining which members are in a given team and emailing them individually (it would certainly make organizations' SMTP servers happier for large teams of people). This would also be nice for teams that have a rotating oncall phone number that everyone forwards their phones to when their shift starts. The default behavior of course being individual messages, unless a team has any `modes` assigned to it in `target_contact`.

Is this possible?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by locating the code that resolves team targets and consult the target and target_contact tables; done would mean a team's assigned mode is used before individual member delivery, while preserving individual messaging as the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.