ChangeIssueStatus
Performs a workflow status transition on a Jira issue, such as moving from 'To Do' to 'In Progress'.
ストアドプロシージャ固有の情報
利用可能なTransitionIdの一覧を確認するには、設定ボタン(Jira管理)-> 課題 -> ワークフローをクリックし、プロジェクトのワークフローの表示ボタンをクリックします。その後、テキストまたはダイアグラムを選択すると、利用可能なトランジションとそのIDが一覧表示されます。トランジション名の横にある括弧内のIDをTransitionIdパラメータとして使用してください。
このプロシージャを実行するには、次のように入力します:
EXEC ChangeIssueStatus IssueKey='PROJ-123', TransitionId='21'
Input
| Name | Type | Required | Description |
| IssueId | String | False | The unique identifier of the issue to be transitioned. Required if IssueKey is not specified. |
| IssueKey | String | False | The human-readable key of the issue to be transitioned, such as 'PROJ-123'. Required if IssueId is not specified. |
| TransitionId | String | True | The unique identifier of the workflow transition to be applied to the issue, corresponding to a specific status change. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the status transition was successfully executed for the specified issue. |