I am using the C# atlassian sdk (version 12.4). I am able to create a jira issue with the below code, but the assignee field does not seem to get populated. I am using the the assignee account id
var jira = Jira.CreateRestClient(_settings.JiraServer, _settings.AtlassianUser, _settings.AtlassianToken);
var myself = await jira.Users.GetMyselfAsync();
var newIssue = jira.CreateIssue(_settings.JiraProject);
newIssue.Type = _settings.JiraIssueType;
newIssue.Summary = "This is a summary";
newIssue.Assignee = myself.AccountId;
await newIssue.SaveChangesAsync();
The issue gets created but it is unassigned. When I create the issue via postman, using the account id (returned from myself) - It works properly. I think it is a bug in the sdk
Thanks
Hi Yehuda,
While Atlassian does create some SDKs for developers, this particular one you are referring to appears to be created/supported by an individual outside Atlassian. I believe this project is being tracked over in https://bitbucket.org/farmas/atlassian.net-sdk/src/master/
And the link of
https://bitbucket.org/farmas/atlassian.net-sdk/issues?status=new&status=open
Appears to show the listed issues with that package. I have not found a specific report of this not working as expected. Perhaps it would help to reach out on that tracker here to see if perhaps this is a bug with that SDK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.