Hello everyone,
I have a rule here where I'm trying to specify the manager of an employee.
{{issue.customfield_10098.manager}} would be my approach but I have also tried
{{issue.customfield_10098.manager.accountID}}
{{issue.customfield_10098.manager.id}}
and yes Jira has the permission to read that information out of the directory.
Please help me :(
BR
Vincent
Hello @Vincent Luckmann
Based on your description, I deduce that your custom field name is "manager" and its ID is 10098. If I understand correctly, you want to modify this field via automation
Below is a smartvalue can work if this fied is type user picker
{{issue.customfield_10098.displayName}}
{{issue.customfield_10098.accountId}}
{{issue.customfield_10098.emailAddress}}
Hope this can help
Thank you for the fast response but no.
The field is indeed a user picker but the reporter picks the employee and then Jira checks who the manager of that selected employee is and then applies the manager to the approvers, atleast that's what should happen.
BR
Vincent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh, okay, I see. If you don't have too many employees, I think you can create an if/else condition.
If not, I will let someone else who is proficient with webhooks can help you to create an automation that checks and updates the approvers field based on the webhook response.
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.