Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetField value doesn't update the actual value. #122

Open
Dronissim0 opened this issue Nov 8, 2022 · 1 comment
Open

SetField value doesn't update the actual value. #122

Dronissim0 opened this issue Nov 8, 2022 · 1 comment

Comments

@Dronissim0
Copy link

Expected behavior

calling Issue.SetField("FieldName", "FieldValue") change the issue field.

Actual behavior

calling Issue.SetField("FieldName", "FieldValue") doesn't change the issue field

Steps to reproduce the behavior

//string request is my valid request string
var task = await service.GetIssues(request).ConfigureAwait(continueOnCapturedContext: false);
var issue = task.Result.First();
issue.SetField("State", "Test");
issue.SetField("Product Value", "Nice to Have");

// var filed = issue.GetField("State");
// return right value for specified fields, but actually I am not able to see these changed on YouTrack board, I am using YouTrack //admin user for connection.

@Dronissim0
Copy link
Author

Update:

I didn't find a way to fix that problem via SetFields, but I have found a workaround via
service.ApplyCommand(issue.Id, "State Test");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant