27 lines
774 B
Python
27 lines
774 B
Python
def main():
|
|
# Step 1:
|
|
# Create an config file from the sample file if there is none,
|
|
# then return.
|
|
# Read config file if it already existed.
|
|
|
|
# Step 2:
|
|
# Get data from Trello API
|
|
# - Time each card has been in the step it's in
|
|
# - Escalation level
|
|
# - Who is assigned (as well as their email)
|
|
|
|
# Step 3:
|
|
# For each card, compare to escalation rules to see if it's at the step
|
|
# and escalation level it should be at. If not, flag it.
|
|
|
|
# Step 4:
|
|
# Generate reports for each person, showing their own cards.
|
|
# Perhaps a "master report" with every card.
|
|
|
|
# Step 5:
|
|
# Send out the reports via email.
|
|
pass
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main() |