Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where is documentaion for Atlassian .NET SDK? Edited

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

1 answer

Hi,

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);

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

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...

4,375 views 22 32
Read article

Community Events

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

Events near you