Hey there.
I want to automate some tasks and I need to update a pate and tag certain users.
I can mention them with their accountId, as far, as I understand, but I need to somehow get these only from their Display name or email address.
Is there a solution for this?
Hi @Luka Simon Thies Welcome to the community!
You may try below:
https://your-domain.atlassian.net/wiki/rest/api/user?email=user@example.com
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.
Thank you, this works for the email.
Would this also work when I only have a Display name for example?
I tried it with "firstname%20lastname" and with "firstname+lastname", but that returns all users that have either of those in their name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, this behavior makes it difficult to retrieve a specific user if multiple users share parts of the name. There isn't a built-in way to force an exact match using this endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, then I'll have to get around that somehow.
But thank you for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.