自動化ルールとコンポーネントの新しい用語

自動化の「ルール」は「フロー」に、「コンポーネント」は「ステップ」になりました。この変更を行っている間、ドキュメントの一部に用語の不一致が発生する場合があります。自動化に関する最新情報の詳細をご確認ください。

Transition a work item with automation

The Transition work item action will allow your automation flow to transition work items automatically.

However, when transitioning a work item using automation, you may run into the following error:

Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID:

このエラー メッセージは、そのステータスが存在しないことを意味する場合もありますが、多くの場合、別の何かを示唆しています。

トランジションはワークフローに従う必要があります

When creating a flow to transition a work item, the transition must follow the space’s workflow. Learn more about working with workflows.

Take the following workflow for investigating and handling bugs – this workflow will restrict what can be done with the Transition work item action.

限定された順序で完了する必要がある複数のステータスを示す Jira ワークフローの例。

For example, take a flow with a manual trigger that comments when a bug is a duplicate, and then closes it by transitioning to Done – this flow would not successfully execute on work items that are in the Awaiting triage state, as work items can only proceed to Under investigation from this status.

A flow run on a work items in this state will result in an error status.

エラー ステータスの自動化ルールの監査ログ。「特定のステータスへのどのトランジション...」というエラーが表示されています。

This flow, however, will run successfully on Under Investigation and In Progress work items as the workflow allows transitions from these statuses to Done.

Flow actors need the correct permissions

The flow actor is the user who executes a flow. This user must have the relevant permissions to trigger the flow, and complete any actions that may be performed. Learn more about the flow actor.

先ほどの例の、[開発用に選択] から [進行中] へのトランジションの詳細を確認すると、開発者グループのメンバーのみがトランジションを実行できるように条件付けられていることがわかります。

Jira のワークフロー設定。開発者だけが実行できる「Fixing」というトランジションが示されています。

The Automation app user flow actor cannot be added to these user groups. You will need to configure any transition conditions with space roles in order to provide the appropriate permissions. By default, the automation flow actor is in the atlassian-addons-space-access role.

詳細

See other Jira automation use cases in our Jira automation template library.

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。