Hi Folks
I have some issue to add the users manager as approver in the issue the user opened. I found here some guides and be trying some hours but have no lock. My situation looks the following:
have tried already from this guides:
Finding managers of users and setting them as approvers automatically - Web Site - Confluence
My automation looks actually:
my workflow for the approver is in place but in this case i need to use for each request the users manager to add him as approver.
From my automation the first part til and with extracting the reporters email address is working fine. The Audit log shows each time an success but the manager (i think) is not found and not entered in the issue as approver.
Thank you in advance
Hi JZD,
You'll need to fill the user picker field with the accountId of a Jira user. Looking at your screens this would be something along
{{lookupObjects.Manager Name.Atlassian Account ID.accountId}}
As Valerie rightfully suggests, get the input values in a Log action, so you can review what happens in your rule's audit log.
Best regards,
Bob
@Bob Dalm Thank you man, you are my hero :)
I was searching for this multiple hours and i have so much issues to understand how this is working.
{{lookupObjects.Manager Name.Atlassian Account ID.accountId}} is correct!!!! :)
Could i ask you if you can break down to me this smart value
or maybe i try and you can correct me if i am wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope this helps clarify things a little!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your explanation.
Could i ask you how you would solve it with the reporter email adress or how you will do this automation?
I always prefere it simple as possible for the solutions and i from my side think it should be easier as my automation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JZD , thanks for your post.
Please can you try putting a 'log' action before the 'edit issue' action and put the smart value you want to populate the edit issue action with?
When you try to run the rule again and check in the audit log, you should be able to verify if the correct value is being 'printed' into the log and then, if it's not, then we can try to understand why.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Valerie Knapp Thank you very much for your answer
I tried now with the log action but receive no output from my value except the mail address in the first step
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Breakup your smart value to troubleshoot, i.e. {{lookupObjects}} then {{lookupObjects.Manager}} then {{lookupObjects.Manager.Employee Name}}, but also have a look at my comment above :)
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.