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.
Hi @Vinu Charuvil Rajan
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));
...
}
@Vinu Charuvil Rajan
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
Thanks @Marc -Devoteam- for the clarification!
It looks like you're new here. Sign in or register to get started.