Cmdlets for Jira

Build 22.0.8479

ProjectComponents

Query, create, modify, and delete the available Components of a project in JIRA.

テーブル固有の情報

Select

本製品 はJira API を使用して一部のフィルタを処理します。本製品 は他のフィルタを本製品 内で処理します。 SupportEnhancedSQL をfalse に設定することで、クエリのクライアント側の実行をオフにできます。

例えば、次のクエリはサーバー側で処理されます。

各プロジェクトのコンポーネントを取得

SELECT * FROM ProjectComponents

コンポーネントのId 、またはコンポーネントが含まれているプロジェクトでフィルタリングすることもできます。

SELECT * FROM ProjectComponents WHERE Id = 10022 

ProjectId の使用:

SELECT * FROM ProjectComponents WHERE ProjectId = 10027 

ProjectKey の使用:

SELECT * FROM ProjectComponents WHERE ProjectKey = 'QMTH' 

Insert

プロジェクトの新しいコンポーネントを作成します。ProjectKey およびName カラムが必須です。

INSERT INTO ProjectComponents(ProjectKey,Name,AssigneeType) values('COB','Testing Component','PROJECT_LEAD')

Update

変更するコンポーネントのId カラムを指定して、プロジェクトコンポーネントを変更します。

UPDATE ProjectComponents SET LeadKey='newlead' WHERE Id = 10065

Delete

Id を指定して、プロジェクトのコンポーネントを削除します。

DELETE FROM ProjectComponents WHERE Id = 10065

Columns

Name Type ReadOnly References SupportedOperators Platform Description
Id [KEY] Integer True = Common

The Id of the component.

ProjectId Integer True

Projects.Id

=,IN Common

The selected project's id.

ProjectKey String False =,IN Common

The selected project's key.

Name String False Common

The name of the component.

Description String False Common

The description of the component.

LeadDisplayName String True Common

The display name of the component's lead.

LeadKey String False Common

The key of the component's lead.

AssigneeType String False Common

The type of the component's default assignee.

使用できる値は次のとおりです。PROJECT_DEFAULT, COMPONENT_LEAD, PROJECT_LEAD, UNASSIGNED

AssigneeDisplayName String True Common

The display name of the component's default assignee.

AssigneeKey String True Common

The key of the component's default assignee.

IsAssigneeTypeValid Boolean True Common

Whether the assignee type is valid.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479