Set work item security level automatically with Jira Automation

プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。

要約

See how to automatically set security when assigning issues to specific users.

ソリューション

前提条件

Before we create the rule, we'll want to make sure these requirements are met.

  • 少なくとも 1 つのセキュリティ スキームがプロジェクトに関連付けられている必要があります。

  • The Actor of the Automation Rule needs to be a member of the target Security Level.

    • By default, Automation for Jira will be set as the Actor.

    • If we want to keep Automation for Jira as the actor, the Project Role atlassian-addons-project-access must be added to the security scheme.

  • The Actor of the automation rule needs to have the following permissions:

    • Browse Projects.

    • Edit Work Items.

    • Set Security Level.

  • The Security Level field needs to be added to the Edit and View screens for the project.

For full details on configuring work item security, please refer to our documentation.

Automation rule to set the security level based on the Assignee

Our example rule triggers when a work item is assigned to a user or list of users, but the automation trigger can be exchanged for any other trigger that matches your requirements.

  1. Visit your project, and select Project Settings > Automation > Create rule.

  2. Use the Work item assigned trigger.

  3. Select IF: Add a condition.

  4. Choose a Work item fields condition.

    1. Select the Assignee field.

    2. Leave the condition as Is one of (default).

    3. Choose the user(s) that should trigger this rule.

  5. Add an Action component to the rule.

  6. Select the Edit work item component.

  7. Select the Security level field.

  8. Choose the appropriate security level.

  9. Save and Turn on the rule.

If you follow this rule outline, remember to choose assignees who belong to the security level you're setting. Otherwise, the assignee may not be able to see the work once the security level is set.

更新日時: September 25, 2025

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

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