Hi Community! I am working on some automations and emailAddress for custom people field goes missing for some of them but works for some others. I need help to make it work in all automations. Thank you in advance!
Hi @Qin Han
The emailAddress attribute for a "People" type field in team-managed projects is not available to automation rules. Here is the suggestion / defect to fix that: https://jira.atlassian.com/browse/AUTO-519
The workarounds depend upon the specific scenario:
Kind regards,
Bill
Hi @Bill Sheboy
Thank you so much for the workarounds!
I decided to use a global/company-managed field for this team project. And just curious, how do you call the REST API in automation?
Regards,
Han
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is a how-to article for calling a REST API endpoint from a rule using the Send Web Request action:
The specific endpoint to get the user data for their accountId is this one:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-get
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Qin Han Is it a Team managed or Company managed project where the automation is executed?
What is the field type of customfield_11542, is it a single or multi user picker field?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.