From 6cba46c88a97592fe60f1f381482ee4b0fa040c0 Mon Sep 17 00:00:00 2001 From: Robert Dyer Date: Fri, 29 Dec 2023 12:41:44 -0600 Subject: [PATCH] Allow reading/writing default_swimlane in Project (#166) --- changes/166.feature | 1 + taiga/models/models.py | 1 + tests/resources/project_details_success.json | 1 + 3 files changed, 3 insertions(+) create mode 100644 changes/166.feature diff --git a/changes/166.feature b/changes/166.feature new file mode 100644 index 0000000..ac841b1 --- /dev/null +++ b/changes/166.feature @@ -0,0 +1 @@ +Adds the ability to read/write the default_swimlane attribute in Project. diff --git a/taiga/models/models.py b/taiga/models/models.py index a09c496..f01d7f1 100644 --- a/taiga/models/models.py +++ b/taiga/models/models.py @@ -1192,6 +1192,7 @@ class Project(InstanceResource): allowed_params = [ "name", "description", + "default_swimlane", "creation_template", "is_backlog_activated", "is_issues_activated", diff --git a/tests/resources/project_details_success.json b/tests/resources/project_details_success.json index 3f9035a..c342188 100644 --- a/tests/resources/project_details_success.json +++ b/tests/resources/project_details_success.json @@ -809,6 +809,7 @@ "default_task_status": 1, "default_priority": 2, "default_severity": 3, + "default_swimlane": 1, "default_issue_status": 429, "default_issue_type": 1, "name": "Project Example 0",