1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-25 05:22:39 +01:00

growthexpriments-mentorship: Move tasks that are in sprint to In Progress

I keep forgetting to do that manually :D.
This commit is contained in:
Martin Urbanec 2022-09-29 11:57:13 +02:00
parent c338ec8707
commit 3a0bcd8b55

View file

@ -64,6 +64,12 @@ work = [{'from': ['incoming'],
'project': 'Bengali-Sites',
'to': 'Done',
'status': ['Closed']},
{'from': ['New Tasks',
'Backlog',
'Prioritized'],
'project': 'growthexperiments-mentorship',
'to': 'In Progress',
'projects': ['growth-team-current-sprint']}
]
for case in work:
gen = client.getTasksWithProject(client.lookupPhid('#' + case['project']))