PullRequests
Returns data from project pull requests table.
Select
本製品 は Backlog API を使用して、以下のカラムと演算子で構築されたWHERE 句条件を処理します。リクエストを行うにはProjectId およびRepositoryId が必要です。その他のフィルタはクライアント側で本製品 内部で処理されます。
- ProjectId は'=' をサポートしています。
- RepositoryId は'=' をサポートしています。
- Number は'=' をサポートしています。
例えば、次のクエリはサーバー側で処理されます。
SELECT * FROM PullRequests WHERE ProjectId = '114706' AND RepositoryId = 22462" SELECT * FROM PullRequests WHERE ProjectId = '114706' AND RepositoryId = 22462 AND Number = 2
Insert
挿入は、ProjectId、RepositoryId、Summary、description、base およびbranch を指定することで実行できます。
INSERT INTO PullRequests (ProjectId, RepositoryId, Summary, description, base, branch) VALUES ('114706', '22462', 'First', 'FirstPullReq', 'main', 'sample')
Update
UPDATE PullRequests SET Summary = 'Third' WHERE ProjectId = 114706 AND RepositoryId = 22462 AND Number = 44203
Delete
削除はこのテーブルではサポートされていません。
Columns
| Name | Type | ReadOnly | Description |
| ProjectId [KEY] | Int | False | |
| RepositoryId [KEY] | Int | False | |
| Id [KEY] | Int | False | |
| Number | Int | False | |
| Summary | String | False | |
| Description | String | False | |
| Base | String | False | |
| Branch | String | False | |
| BaseCommit | String | True | |
| BranchCommit | String | True | |
| CloseAt | Datetime | True | |
| MergeAt | Datetime | True | |
| StatusId | Int | True | |
| StatusName | String | True | |
| IssueId | Int | False | |
| AssigneeId | Int | False | |
| AssigneeName | String | True | |
| AssigneeRoleType | Int | True | |
| AssigneeLanguage | String | True | |
| AssigneeMailAddress | String | True | |
| Created | Datetime | True | |
| CreatedById | Int | True | |
| CreatedByUserId | String | True | |
| CreatedByName | String | True | |
| CreatedByKeyword | String | True | |
| CreatedByRoleType | Int | True | |
| CreatedByLanguage | String | True | |
| CreatedByMailAddress | String | True | |
| CreatedByNulabAccountName | String | True | |
| CreatedByNulabId | String | True | |
| CreatedByNulabAccountUniqueId | String | True | |
| Updated | Datetime | True | |
| UpdatedById | Int | True | |
| UpdatedByUserId | String | True | |
| UpdatedByName | String | True | |
| UpdatedByKeyword | String | True | |
| UpdatedByRoleType | Int | True | |
| UpdatedByLanguage | String | True | |
| UpdatedByMailAddress | String | True | |
| UpdatedByNulabAccountName | String | True | |
| UpdatedByNulabId | String | True | |
| UpdatedByNulabAccountUniqueId | String | True |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| NotifiedUserId | String | |
| AttachmentId | String |