The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am trying to fetch email address using a single user picker custom field that I created.
But the picker field returns user ID of the user selected and not the email address.
I need it to return email to feed it to Okta workflows to be used for further action.
In Okta workflows I even tried to feed this user id using the Atlassian get user card to get the user details but for some reason Atlassian is not able to find any user nor group.
@Mikael Sandberg got that working after some research.
I put the user picker field field to copy into another text field
{{issue.fields.customfield_12258.emailAddress}} - This returns email address
{{issue.Approvers.displayName}} - This returns just the name
otherwise it will just return the user id.
This work for me for the moment(not very ideal solution)but what I would have wanted is the API card to work which should just sent the user id to fetch the name but its not working.
I tried postman to test sending userid, not sure but why but its not working
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
All values listed here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The short answer is no, the user picker field cannot return the email address. The reason is GDPR. What you can do is once you have the accountId you get the email via the Users resource.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.