hi, I am trying to create automation. when new issue add I want to send web request to jira and get users id according email
https://test.atlassian.net/rest/api/3/user/search?query={{issue.fields.customfield_13104.urlEncode}}
is this correct ?
Hello,
To find a user's accountId from their email:
https://your-domain.atlassian.net/rest/api/3/user/search?query={email}
if email = name@email.somethinghttps://your-domain.atlassian.net/rest/api/3/user/search?query=name@email.something
Result in JSON format
[{"accountId": "accounId from user","accountType": "atlassian","active": true,"avatarUrls": {"16x16":......
........png"},"displayName": "***********","emailAddress": "name@email.something","locale": "en_GB","self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=************","timeZone": "Europe/Brussels"}]
It looks like you're new here. Sign in or register to get started.