Issue trying to get information via API

I created a new Trial account, and set up my first project. I added an issue, and several other pieces. I need to access that data via the API using C#.

For right now, I'm using Basic authorization and am including my username and password in the headers. My account is set up as the Admin for the project.

The URL that I'm sending a GET to is http://[my account] where TP-1 is the ID for the project I created. With my correct username and password, the result that I'm getting gives the following content:


    "errorMessages" :[

        "You do not have the permission to see the specified issue.",

        "Login Required"


    "errors": {}


What am I missing? When I query for my projects, I receive an empty array. Is this a limitation of the Trial version?

I can post my code if necessary, but I haven't seen other references to C# code and didn't want to muddle my question. 

3 answers

0 votes

We place no trial limitations on the REST API because we DO want you to start writing integrations for our products. My suggestion would be: try hitting the rest endpoints with the Rest API Browser ( and then just copy what that does in C#. That would be the easiest way to make sure that you are doing it right. If you want an instance that has the REST API Browser for development then just install the atlassian plugin SDK and then, in a terminal: 'atlas-run --product jira'. That will bring up a jira at localhost:2990/jira with the Rest API Browser installed. You can get to the Rest API Browser easily by using the 'dot dialog':

0 votes

Wow that looks horrible in a comment but I hope that it helps! I put it in a comment because it is not really an answer but rather a helping hand. :)

Hi Ben,

My suggestion for you, try JIRA REST Client. I'm using it and it's cool )).

small example:

SearchResult searchResult = restClient.getSearchClient().searchJql( filter, progressMonitor );
Iterable<BasicIssue> userIssueList = searchResult.getIssues();


here, in filter you'll write JQL and get what you want. In userIssueList there is everything about issue.


Except we use C# and now Java.

you mean, now you're using Java.

No, we do not use Java, sorry.

Aaa ok. )))) This was on Java

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in United States

Atlassian acquires AgileCraft

         Good Day, Bad bad traffic, not sure why!!!! 1/2 hour commute took me 2 hours today 🤯 What helped me is that I kept browsing LinkedIn until...

52 views 4 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you