Hello
I've found this guide for add automatically the manager of the user who creates the issue as approver.
Solved: Adding Manager For Approvals Automatically
I just tried it this way via an automation. Some things are not exactly how in the guide because we have already assets for our employees configured with all necessary data and also for the manager of each user.
So i have some trouble to find the correct smart value for my automation where my asset schema is named "Employees", The Email Address is named "Email" and the Manager for the user is named "Manager Name"
So what i tried for lookup objects is:
objecttype = Employees and "EMail" = "{{issue.reporter.emailAddress}}"
and the for edit issue fields - Approvers is:
objecttype = Employees and "EMail" = "{{issue.reporter.emailAddress}}"
I have some custom fields for our assets where i am looking always with:
Filter issue scope (AQL): "Assigned User"."Atlassian Account ID"=${reporter}
for adding automatically some assets to an issue.
I also tried to create only an customfield only for finding the correct aql for the users manager but i am not able to solve this.
May someone can help me a bit with this?
I got an success in the audit log but the manager is not added as approver.
I appreciate for any idea or tip to find an solution.
Thank you in advance
Just forget to mention that i am trying the option 2 from the link
received my answer here: https://community.atlassian.com/t5/Jira-Service-Management/How-to-filter-users-manager-from-user-asset-object/qaq-p/2941332#M199412
Thank you very much
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.