-
Notifications
You must be signed in to change notification settings - Fork 91
Update a redmine object
Padi edited this page Sep 1, 2015
·
10 revisions
When trying to update an object with invalid or missing attribute parameters, you will get RedmineException that contains the corresponding error messages.
using System;
using System.Collections.Specialized;
using Redmine.Net.Api;
using Redmine.Net.Api.Types;
namespace RedmineTest
{
class Program
{
static void Main(string[] args)
{
string host = "";
string apiKey = "";
string issueId = "1";
var manager = new RedmineManager(host, apiKey);
var issue = manager.GetObject<Issue>(issueId, null);
issue.Description = "Updated description";
manager.UpdateObject(issueId ,issue);
}
}
}
-
CRUD Operations
-
List Operations
-
Specific operations
- Attachments
- Issues
- Users
- Groups
- Wiki pages