Stop users from creating certain issue types in Jira Cloud
プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。
要約
The "Create Issues" permission applies to all issue types, so it's not possible to limit users to create certain types of issues through the permission scheme.
ソリューション
You can use a workflow validator in the create issue transition to only allow certain types of issues to be created by certain users. Similarly, validators can be implemented for editing restrictions, and specific permissions can be configured to control issue editing and creation based on user roles within the project.
Let's say the requirement is that only a specific group of users should be able to create Epics.
Prerequisite: Other issue types must use separate workflows than the restricted issue type Epic.
Navigate to your project and select 9 Project Settings > Workflows
エピック課題タイプで使用するワークフローを編集します
Select the Create transition, and select Validators There will be a default validator stating "Only users with Create Issues permission can execute this transition"
[バリデーターを追加] を選択します
[権限の検証] タイプを選択し、[追加] を選択します
ドロップダウン セレクターで、利用可能な権限のいずれかを選択します
まずは、プロジェクトを管理権限を使用して、プロジェクト管理者のみがエピック課題を作成できるようにすることから始めるとよいでしょう
オプションで、デフォルトのバリデーターを削除します
「プロジェクトを管理」以外の権限を選択した場合は、その権限を持つユーザーだけが、エピックを作成できるようにするユーザーであることを確認してください。
設定後も、選択した権限を持たないユーザーは作成をクリックして課題タイプとして [エピック] を選択できますが、保存をクリックすると、課題が作成される代わりにエラー メッセージが表示されます。
その他のリソース
バリデーターを設定するための詳細な手順については、「高度な課題ワークフローの設定」ドキュメントを参照してください。
また、課題タイプの作成制限を Jira Cloud の機能として実装するための機能リクエストも参照してください。
この内容はお役に立ちましたか?