Update Zendesk tags to reflect new taxonomy

Requests to go live and email branding requests come through to Zendesk
with tags attached automatically.

With the revised taxonomy some of these tags need to be updated, as
summarised in this spreadsheet.

In addition, `notify_action` tag has to be added in each of those cases.

Old|New
---|---
`notify_request_to_go_live_complete`|`notify_go_live_complete`
`notify_request_to_go_live_incomplete`|`notify_go_live_incomplete`
`notify_action_add_branding`|`notify_branding`
`notify_request_to_go_live_incomplete_mou`|`notify_go_live_incomplete_mou`
`notify_request_to_go_live`|`notify_go_live`

– https://docs.google.com/spreadsheets/d/1o5ATsFsVK8Qpj7x8QvxX-SfEuBZ75028GEySVcdBFYU/edit#gid=0https://www.pivotaltracker.com/story/show/169842970
This commit is contained in:
Chris Hill-Scott
2019-11-19 15:46:29 +00:00
parent 94ee7b16d9
commit 7a5d301104
3 changed files with 45 additions and 36 deletions

View File

@@ -615,8 +615,9 @@ class Service(JSONModel):
def _get_request_to_go_live_tags(self):
BASE = 'notify_request_to_go_live'
BASE = 'notify_go_live'
yield 'notify_action'
yield BASE
if self.go_live_checklist_completed and self.organisation.agreement_signed: