I want to create an automation rule for access requests to assign the approver name based on the service owner's name. The notification email is sent to the service owner either to Approve/Reject. Kindly advise, how I can create this rule in JSM.
Hello Kavitha, I appreciate your guidance. Once we assign the issue to a specific person, can this user Approve/Decline the request? Could you please explain how this approval flow functions? I apologize for the inconvenience; it's my first time using Jira Service Management and automation configuration. Your patience is highly valued
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure how you have an individual set as the service owner because the Service Owners attribute of the Service object type in the Services schema in Assets is a group attribute, not a user attribute.
That being said you should be able to accomplish this without using components because you can use a Lookup Objects action in the rule to find the matching service name in the Service object type mentioned above. Once you have found the object then you can set the Approvers field to {{lookupObjects."Service Owners"}} or {{lookupObjects."Change Approvers"}} but the Change Approvers attribute is also a group attribute (not user).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gunasundri Subramaniam To make it simpler, you can use component as a service and assign component lead as the service owner name and at the project level, you can set the default assignee to component lead. In that way, you do not need to even write an automation rule.. keeping it simple and maintainable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gunasundri Subramaniam Assuming you are capturing service name in some field, you can use smart values to compare the service name and use the service owner name as assignee. If there are 10 services, you will need to write multiple if conditions.
In this example I have used component name. Based on the value of component, the automation that gets triggers when an issue is created will assign to particular person. Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.