Set up Issue security for request participants using Automation in JSM Cloud

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

When a security level is set for a JSM issue, Request participants can't view the issue from the customer portal.

Solution

Error when trying to view the request

When a request participant tries to view an issue with a security level set, they receive an error: "No Access. You do not have permission to view this request."

The "Request participants" field is not available when configuring a security level so we can't configure Request participants to view these issues. We have a Feature request to provide this functionality:

Note: The ideal solution for this issue is mentioned in that Feature Request. Use the "Service Project Customer - Portal Access" security group instead of an Automation Rule. This article will remain here for posterity, as it is an example of ways to use Automation to solve issues.

Allow participants to view requests using Automation

While we wait for this functionality to be available, we can use Automation to achieve the same results.

This requires adding a new multi-user picker custom field, which will be included in the security levels configuration. We will then create two automation rules, the first one will copy the Request participants to the multi-user picker custom field configured at the security level. This ensures that the request participants are added to the necessary security level and allows them to view these issues on the customer portal. However this will not trigger any notifications to the Request participants since there is a security level set. So we will need a second automation rule to send the notifications when a request participant is added.

Configure Security Level

  1. Create a multi-user picker custom field, let's call it Req Participants Copy.

  2. Add this field to all the relevant screens. No need to add it to the Request form.

  3. Add this newly created custom field to the necessary Issue Security levels that should allow request participants to view an issue.

First Automation rule: Copy Request Participants

Create an Automation rule that updates the new field Req Participants Copy on any changes made to the Request Participants field.

  1. Go to Project Settings > Automation.

  2. Click on Create rule.

  3. Select Trigger Field value changed.

    Field: Request Participants. Change Type: Any changes.

  4. Create a new action, "Edit issue." Select the custom field Req Participants Copy.

    1. Click on the 3 dots to copy Request Participants to the new field Req Participants Copy.

    2. Uncheck the "Add to existing values" box.

  5. Click on Save and Turn it on.

Second Automation rule: Send notification to new participants

The notification for new participants needs to be done through automation, as Jira won't send the customer notifications for request participants when a security level is configured.

After the access is granted in the first automation rule, we need a new automation rule to notify them:

  1. Go to Project Settings > Automation.

  2. Click on Create rule.

  3. Select a Trigger Field value changed.

    Field: Request Participants. Change Type: Value Added.

  4. Add a new branch and select "Advanced branching" to iterate the Request participants list and send emails only to the newly added users (whose names are added to the changelog under addedfieldChange.values).

    Smart value: {{issue.Request Participants}} Variable name: participant.

    • Within that advanced branching, add the following Condition:

      • First value: {{addedfieldChange.values}}

      • Condition: contains.

      • Second values: {{participant.displayName}}

    • Add Action to send email to participant of the above condition matches.

  5. Click on Save and Turn it on.

Contact Atlassian support if you have any questions.

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.