From 3e9e77e4f0219d7ff6514845ed3d0f93148ae251 Mon Sep 17 00:00:00 2001 From: Martin Urbanec Date: Tue, 5 Apr 2022 11:59:54 +0200 Subject: [PATCH] new_wikis_handler: Automatically tag post-creation task with platform-engineering Discussed at https://wikimedia.slack.com/archives/C01R06P8D1B/p1649147661951379. --- new_wikis_handler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/new_wikis_handler.py b/new_wikis_handler.py index f6013c9..8999bfa 100644 --- a/new_wikis_handler.py +++ b/new_wikis_handler.py @@ -87,7 +87,10 @@ class PostCreationHandler(object): def _create_ticket(self): result = client.createParentTask( self.post_ticket_text, - ['PHID-PROJ-2fuv7mxzjnpjfuojdnfd'], + [ + 'PHID-PROJ-2fuv7mxzjnpjfuojdnfd', # wiki-setup + 'PHID-PROJ-2b7oz62ylk3jk4aus262', # platform-engineering + ], self.main_pid, 'Post-creation work for {}'.format(self.db_name))['object'] self.post_ticket_phid = result['phid']