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

How do I query a list of projects via Atlassin SDK in C#? Edited


I am trying to use Atlassin.SDK 10.7.1 against our on prem server with version 7.11.1, and as the first step, I am trying to get a list of the projects.

the local address of Jira is http://jira/

the code:

public async Task CanGetProject()
    Jira jira = Jira.CreateRestClient("http://jira", _userName, _password);
    IEnumerable<Project> projects = await jira.Projects.GetProjectsAsync();

The problem is that I get 404 back:

404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

It looks like I do not get to the point of authentication, so it does not fin the right address to start from.

Information about Jira:

Jira v7.11.1
JIRA Agile v7.11.0-DAILY20180712063948

Any ideas on how to fix this?



1 answer

1 accepted

0 votes
Answer accepted

I figured out that in the address, I had to specify the port and one more parameter after slash, so instead of


In my case, I need to have:


Suggest an answer

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

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

555 views 6 18
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