Hi,
I have team managed service desk with approval workflow. The Aprovers field itself is also team managed field.
How to retrieve the email address value from the Automation using smart values? I use
{{issue.Approvers.emailAddress}} but it's empty and using the Approvers customefield {{issue.customfield_10139}} is not working too.
Hi @Rahmat , welcome to the Altassian Community and thanks for your post.
Please can I ask why you want the email address?
Can you not put a comment and mention the Approver?
Can you explain a bit better please the use case and what you are trying to do / achieve?
Best wishes
Hi,
I'm working on some automation to retrieve Slack ID by email address. I will use the email address as payload to hit slack API and store the Slack ID. For example like this:
https://slack.com/api/users.lookupByEmail?email={{issue.Approvers.emailAddress}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if this is returning empty, you might need to iterate over the users in the Approvers field. You can do this using the following smart value:
{{#issue.Approvers}}{{emailAddress}}{{/}}
This will loop through each approver and retrieve their email addresses.
Try to test the same with the customfield.
{{#issue.customfield_10139}}{{emailAddress}}{{/}}
Hope it helps.
BR
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, my bad. Sorry.
In team managed projects you are probably running in to the following limitations on team managed project in relation to automation;
I teswt it in a companey managed project, there it works, but not in a team managed project.
BR
Kai
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.