Hey everyone!
After some exploration, I found a way to link asset objects to a specific customer so that they can only see assets assigned to them in the portal form—natively, without extra workarounds!
Objective: When Customer A accesses the portal, they’ll only be able to select Product assets that are assigned to them.
Here's a step-by-step guide on how to set this up:
Head to https://admin.atlassian.com/.
Create a new group with the Customer role (or use the default jira-servicemanagement-customers-YOUR-PROJECT group).
Go to the Users tab, invite your customer, and assign them to the desired group.
Note: A user with only the Customer role doesn’t count as a paid user!
If your JSM project is restricted, add the customer to the JSM project by their email under Project Settings > Customers.
⚠️ Important: Avoid adding the customer directly to your JSM project before step 1.
Go to Assets and create a new asset object type, like "Products."
Add a user attribute to this object type (e.g., "Owner") and select the group jira-servicemanagement-customers-YOUR-PROJECT.
Create individual Product objects and assign each one to a specific customer as the owner.
Go to Custom Fields and create a new asset object field.
In Contexts and Default Value, set up these AQL filters:
Filter Scope (AQL): objectType = "Products"
Filter Issue Scope (AQL): objectType = "Products" AND "Owner" = ${reporter}
Finally, add your custom field to the desired request type in your JSM project.
And that’s it! 🎉 Now, when your customer submits a request, they’ll only be able to select from the Product assets specifically assigned to them.
Let me know if this helps or if you have any questions!
Hi @Dirk Ronsmans , you are correct ! If you don't want your customer to login with an atlassian account , it's not possible to assign them in groups and therefore not possible to select the owner in an asset object.
However if your customer is willing to connect through atlassian login when he gets invited to your Customer group , you won't pay this user and also manage its accesses as you can still add his email (now related to an atlassian account) to your project.
I'm really interested if you find possible actions to make customer login experience smoother.
Best regards,
Sure! But you just need to watch out that if you invite the customer from the project itself it will be added as a portal only user which you cannot map to an Asset.
If you invite them from the regular users page with a Customer role then they have an Atlassian account. You don't really notice this in the way the account functions but it does make a difference in processes like these.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Get started with Jira Service Management
These short, self-paced courses will help you get up and running in Jira Service Management in just 90 minutes.
Learning Path
Adopt ITSM practices with Jira Service Management
Use this path to build your IT Service Management knowledge and earn an Atlassian certification.
Setting Up ITSM Projects in Jira Service Management
This training series helps you get started in Jira Service Management quickly with the new ITSM project template.