I'm trying to pull out the accountId based on an email address using automation.
- My web request url is <jira_url>/rest/api/3/user/search?query={{issue.customfield_10094.urlEncode}}
- Http method: GET
- Web response body: Issue data (Jira format)
- Headers
- Authorization: basic <api_token>
- Accept: application/json
When i try to validate web request config with a project key, I see the payload with my custom field value:
"customfield_10094": "my_email@email.com",
But when I log {{webResponses.body.first.accountId}}, it turns up empty. What am I doing wrong?