Restrict access to certain Jira issues based on the value of a custom field

お困りですか?

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

コミュニティに質問

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

   

要約

The use case is to restrict access to certain Jira issues based on the value of a custom field. This article is meant to help you to fulfill this requirement with the help of the Issue Security Scheme and Automation Rules.

環境

Jira Cloud

ソリューション

We can restrict access to certain users based on the value of a custom field in Jira using Issue Security levels and Automation rules.

Here's a general overview of how you could set that up:

Create a Security Level:

  • Go to 'Project settings'.
  • Choose 'Issue security schemes'.
  • Add a new security level or edit an existing one. You could name it something like 'Restricted Access - CustomFieldValue A'. Assign this security level to a group of users of the "CustomFieldValue A group" you want to restrict.
  • Add a new security level with a name like 'Restricted Access - CustomFieldValue B'. Assign this security level to a group of users of the "CustomFieldValue B group" you want to restrict.

Note: You have to create issue security for each dropdown available in the custom field.

Set up Automation:

  • Now, you can create an automation rule that changes the security level based on the value of a custom field.
  • Go to 'Project settings'
  • Click 'Automation'
  • Add a new rule.
  • The automation rule could be something like this:
    • When: 課題が作成されるタイミング
    • Condition: 'Custom field' equals 'specific value' like 'CustomFieldValue A'
    • Action: Set the issue security level to 'Restricted Access - CustomFieldValue A'
  • Then you have to create a new automation rule for the CustomFieldValue B of the custom field similar to the above.

Remember, only the users who have been assigned the 'Restricted Access - Nigeria Market' security level would be able to view or edit the issue. 



Last modified on Mar 4, 2024

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.