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"
}
]
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.