JIRA Service Desk の承認の設定
JIRA Service Desk allows you to add an approval step to a status in a workflow, which allows you to specify if an approval is needed for issue types (and their associated request types) that are mapped to the workflow. The option to add an approval step is only available if the workflow is associated with at least one JIRA Service Desk project. If you add an approval step to the workflow, and that workflow is also used by a non-JIRA Service Desk project, the issues in the non-JIRA Service Desk projects can still be worked on in the usual way, but the approval step will not be enforced for those issues.
You can configure more than one approval step on a workflow, and you can specify if the approval step requires one or more approvers. For example, you may want a manager to initially approve a request, and then two members of your finance team may need to make the final approval on the request. You can also decide whether you want the customer to select the approver, or if you want the approver to be selected from a pre-defined list. If you want to enforce an approval, so that an approver must make a decision before the request can be progressed, you should set the approval step on a status that only has two outgoing transitions, one to Decline and one to Approve. You can set the approval step on a status that has more than two outgoing transitions, but you can only enforce two of these, the additional transitions can be actioned by a service desk agent. For example, there may be exceptional circumstances where you can't wait for an approval, so you need a way to progress the request manually. Having additional transitions on the status with the approval step allow your agents to progress the request. Transitions used by the approval step skip transition screens, so if your Decline or Approve transitions are going to a 'Done' status, add a post function that sets the resolution of the request so it's considered closed by JIRA Service Desk.
動作の仕組み
承認ステップはワークフロー ステータスに置くことができる追加の設定項目です。リクエストがこのステータスに遷移する場合、指名された承認者は保留中の承認があることを知らせるメールを受け取ります。承認ステップが既存の2つのトランジションのみを持つ場合、承認者がリクエストを承認または拒否するまで、誰でも操作することができます。エージェントは承認を追加、編集、削除することができますが、承認されるまでリクエストを遷移させることはできません。既存の3つ以上のトランジションがある場合、エージェントは承認ステップで使用されないトランジションを経由して課題を拒否または承認に遷移させることができます。
JIRA インスタンスにユーザ ピッカー カスタム フィールドを追加し、ワークフローの承認ステップを設定するには、JIRA 管理者グローバル権限を持っている必要があります。リクエスト タイプにフィールドを追加するには、JIRA 管理者グローバル権限またはそのプロジェクトの管理者プロジェクト ロールを持っている必要があります。
