Don't create tasks for issues i'm not assigned to
This commit is contained in:
parent
58f6f7abbc
commit
43dcc129da
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ def todoist_assigned_issues():
|
||||||
logger.info("Deleting task for '{}'".format(issue.title))
|
logger.info("Deleting task for '{}'".format(issue.title))
|
||||||
todoist.items.delete([existing_task_id])
|
todoist.items.delete([existing_task_id])
|
||||||
|
|
||||||
|
if not me_assigned:
|
||||||
|
continue
|
||||||
|
|
||||||
elif (
|
elif (
|
||||||
issue.state == "closed"
|
issue.state == "closed"
|
||||||
and existing_task_id is not None
|
and existing_task_id is not None
|
||||||
|
|
Reference in a new issue