I am trying to create a simple app in C# for doing some calculations over data that are not possible using web interface. I was using C# restapi project and all was fine but that one is not maintained for years.
I downloaded Atlassian .NET SDK but there is no documentation and I cannot figure out how to execute a regular JQL query (not LINQ) or how to use > or < operators in LINQ (e.g. timetracking.RemainingEstimate>10)
Any help will be highly appreciated
i use Atlassian.Net SDK 10.6.0 with Visual Studio and can connect to JIRA and execute jql queries as follow:
Jira jira = Jira.CreateRestClient(host, user, password);
var jqlQuery = "project=" + projectId+ " AND summary~\"" + new LiteralMatch("JIRA Issue summary 1") + "\""
var issueList = await jira.Issues.GetIssuesFromJqlAsync(jqlQuery);
you can compare the RemainingEstimate in JQL as usual in JIRA or using LINQ:
var remainingIssue = issuetList.All(x => int.Parse(x.TimeTrackingData.RemainingEstimate) > 10);
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events