This is a simple REST based JIRA client, written for Greenshot, by using Dapplo.HttpExtension
-
Documentation: Dapplo.Jira
If you like this project, maybe it saves you time or money, and want to support me to continue the development? You can donate something via Paypal: https://www.paypal.me/dapplo
This client has support for:
- Issue (CRUD, comment, assign, issue types)
- Attachments (CRUD)
- Basic authorization, OAuth & session (via cookie)
- Search, with a JQL builder e.g. Where.And(Where.User.IsCurrentUser,Where.Text.Contains("Urgent"))
- Paging results
- Information on projects, transitions and users
- getting Avatars of users/projects and icons for Issue type
- CRUD methods for the work-log (time spend on issues)
- CRUD methods for filters
- Some Agile methods, to get sprints/boards/issues. (work in progress)
For examples on how to use this library, I advice you to look at the test cases.
A simple exampe to find issues, and output their description
var jiraClient = JiraClient.Create(new Uri("https://jira"));
jiraClient.SetBasicAuthentication(username, password);
var searchResult = await jiraClient.Issue.SearchAsync(Where.Text.Contains("my text"));
foreach (var issue in searchResult.Issues)
{
Debug.WriteLine(issue.Fields.Description);
}