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.something
https://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"
}
]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.