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

Issue trying to get information via API

Ben Sheppard Nov 18, 2014

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
Robert Massaioli Atlassian Team Nov 18, 2014

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
Robert Massaioli Atlassian Team Nov 18, 2014

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

0 votes

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.


Ben Sheppard Dec 01, 2014

Except we use C# and now Java.

you mean, now you're using Java.

Ben Sheppard Dec 01, 2014

No, we do not use Java, sorry.

Aaa ok. )))) This was on Java

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Statuspage

⭐️Would you recommend Statuspage? Leave a (honest!) review. ⭐️

Hi Community friends, We're working on sourcing more reviews on Capterra – a popular software review site –  to help teams like yours make more informed decisions when choosing an inc...

82 views 3 5
Join discussion

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