We created a portal in service management for tracking employee leave where they enter in their, name, start/end dates and a drop down menu for the name of their manager. I tried to build an automation where if the Assignee field (in details) was empty for the "request for leave" issues type that it would assign the task the name entered in the "Employee's manger" field. I do not see how to do that in the automation.
Assuming that the Employee's manager field is a user picker field, the all you would have to do in the automation to set the assignee would be to use the smart value for the manager field like this:
{{issue.Employee's manager}}
Or you can use the custom field Id like this:
{{issue.customfield_XXXXX}}
When I tried the smart value field it is still giving me errors and not making the assignee the person selected in the from the user picker field. I used the HR Service management template in service management. I don't know what I am doing wrong. I am guessing my automation logic is wrong.
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.
What is the value returned for the Managers field? If you add a log action in your automation and set it to {{issue.Manager}} you can verify that it returns the Atlassian Id or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vanessa ScherstromWhat sort of customfield is Employees manager? I assume is a User Picker.
In that case in your rule you would edit the Assignee field and use the smartvalue for the above customfield.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.