alewcock / Jira.SDK

SDK for Jira integration in .net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jira.SDK

SDK for Jira integration in .net

Open issues

* Not all code is unit tested * Some custom business logic still in the API (especialy in the Epic class).

This repository is open for pull requests!

Nuget

You can download the nuget file here: https://www.nuget.org/packages/Jira.SDK/1.1.1.2

Version history

New features

* Added methods to collect the linked issues of a specific issue. * Added support for custom fields for Issues. * Added support for labels, you can now get all labels linked to a specific issue.

Bugfixes

* Fixed some issues with dates (for example, the resolution date). * Fixed a bug where the active sprint was listed twice when getting all sprints from an agile board.

Getting started

To get started with this SDK, all you need to do is create a new Jira instance and choose how you want to target Jira:
Jira jira = new Jira();
//Connect to Jira with username and password. Please be aware that the information returned by the Jira REST API depends on the access rigths of the user.
jira.Connect("{{JIRA URL}}", "{{USERNAME}}", "{{PASSWORD}}");

//You can also connect to Jira anonymously. Please make sure that the information you want to request with the SDK is accessible by unauthenticated users.
jira.Connect("{{JIRA URL}}");

//Gets all of the projects configured in your jira instance
List<Project> projects = jira.GetProjects();

//Gets a specific project by name
Project project = jira.GetProject("{{projectname}}");
            
//Gets all of users favourite filters
List<IssueFilter> filters = jira.GetFilters();

//Gets a specific filter by name
IssueFilter filter = jira.GetFilter("{{filtername}}");

//Get a list of agile boards configured in your jira instance
List<AgileBoard> agilaboards = jira.GetAgileBoards();

//Get a specific issue with key
Issue issue = jira.GetIssue("{{issuekey}}");

About

SDK for Jira integration in .net

License:Apache License 2.0


Languages

Language:C# 100.0%