CSharp Library - Backlog API2 json
C# PowerShell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
BuildScripts
CSJSONBacklog
CSJSONBacklogSample
CSJSONBacklogTest
.gitignore
CSJSONBacklog.nuspec
CSJSONBacklog.sln
CSJSONBacklog.sln.DotSettings
CSJSONBacklog.vsmdi
LICENSE
Local.testsettings
README.md
TraceAndTestImpact.testsettings

README.md

What's CSJSONBacklog

CSJSONBacklog is a library of Backlog API v2 written in C#.

NuGet package is available! https://www.nuget.org/packages/CSJSONBacklog/

Features of CSJSONBacklog

Development is in step by step progress.

https://github.com/mtaniuchi/CSJSONBacklog/tree/master

Sample1 - get project list

// project list
var projectCommunicator = new ProjectCommunicator(spaceName, apiKey);
var projects = projectCommunicator.GetProjectList().ToList();
foreach (var project in projects)
{
    Debug.WriteLine(project);

    // custom fields
    var customFieldList = projectCommunicator.GetCustomFieldList(project.ProjectKey);
    foreach (var customField in customFieldList)
    {
        Debug.WriteLine(customField);
    }
}

Sample2 - get issue list

var param = new QueryIssueParameters
{
    ProjectIds = new List<int> { project.Id },
    ParentChild = ParentChild.All,
    Offset = 0,
    Count = 100,// per 100 max
    Order = Order.Asc,
    Sort = Sort.Created
};
for (param.Offset = 0; param.Offset < count; param.Offset += 100)
{
    var issues = issueCommunicator.GetIssues(param).ToList();
    foreach (var issue in issues)
    {
        Debug.WriteLine(issue);
    }
}

The Author

mtaniuchi