Hello,
Could you please point out the equivalent client method of the below endpoint in the Atlassian.SDK nuget package.
GET /rest/api/3/user/bulk/migration?username=xxxx
I would like to get the AccountId of the user by passing their Username.
Welcome to the community.
In Cloud you can only get users by their ID, not by there username.
Thanks @Marc Koppelaar for your reply.
Do you mean that the SDK method GetUserAsync doesnt take the Username anymore?
namespace Atlassian.Jira
{
public interface IJiraUserService
{
Task<JiraUser> GetUserAsync(string usernameOrAccountId, CancellationToken token = default(CancellationToken));
...
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, cloud only uses ID's in relation to the API. This to GDPR and Security guidelines.
Cloud has no SDK build options, this is also stated in the first paragraph of the developer documentation of SDK
You need to build with Forge or Connect, see; Cloud developer
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.