-
Notifications
You must be signed in to change notification settings - Fork 85
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
Cant create new issue #256
Comments
Hi any update on that? I tried with new version of dll but still no response when doing POST only get is working, This is what i tried in little test project. `var idProjekta = "1";
string Redminehost = dtRedmineInit.Rows[0]["RedmineHost"].ToString();
Maybe i am missing something, i cant set id of custom value anymore, maybe that is preventing saving of the issue. |
Hi,
|
Thank you for comment. I tried that code but i am always getting 502 Bad gateway error. What can be reason for that, did somebody ecountered something like that? Every get is okay but every post even when i remove custom fields and try to enter just one issue is bad gateway, status description is Proxy error |
Hi, any updates on this? I have the same problem. I am using Redmine version 4.1.1 and the latest dll version (4.2.0). This is what I have tried: var manager = new RedmineManager(host, apiKey);
I am always getting 502 Bad gateway error. I will be grateful for any hints. |
I seem to have pretty much this exact same problem and situation. We recently updated our Redmine from version 3.4.4.stable to 4.2.0.stable and I am using version 4.2.0 of the redmine-api library. I seem to have no problems whatsoever with getting all issues, but whenever I create a TimeEntry instead of creating that TimeEntry and returning the created TimeEntry, it doesn't create the TimeEntry and returns an entirely different existing TimeEntry. There are no Exceptions or any other errors as far as I can tell. This is the code in question I am using to create the TimeEntry, which is unchanged from before the update, the only thing that has changed is the Redmine version. Any ideas as to what is causing this problem?
|
I have no idea, but I'll do my best to find out. |
I can report the same Problem |
Found the problem for me. Had http in my host string but the Redmine server was running on https |
Hi
I have a problem which for now i dont know how to solve. Couple of days ago we swithced to new redmine an from that day redmine .net api stopped working partialy. Strage thing it is working when gettng issues, custom fields, projects but every POST method is not working and i don't get even error message, it feels like everything is ok but issue is not created. When trying from boomerang rest service i can create issue, but from .net cant and i dont know why. Here is my example:
var manager = new RedmineManager(Redminehost, RedmineUserApiKey, RedmineAdminApiKey);
var newIssue = new Issue {
Subject = strSubject,
Description = command,
Project = new IdentifiableName { Id = Convert.ToInt32(idProjekta) },
CustomFields = customFieldValues };
manager.CreateObject(newIssue);
The text was updated successfully, but these errors were encountered: