Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions pybacklogpy/Status.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ def __init__(self, config: Optional[BacklogConfigure] = None):
_config = config if config else None
self.rs = RequestSender(_config)

def get_status_list_of_project(self, project_id_or_key: str) -> Response:
"""
プロジェクトの状態一覧の取得
https://developer.nulab.com/ja/docs/backlog/api/2/get-status-list-of-project/

:param project_id_or_key: プロジェクトのID または プロジェクトキー

:return: レスポンス
"""

path = self.base_path + project_id_or_key + '/statuses'
return self.rs.send_get_request(path=path, url_param={})

def add_status(self,
project_id_or_key: str,
name: str,
Expand Down