Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access JIRA REST url?

Masoumeh Kheiri March 5, 2019

Hi I am new in Jira developing, I installed Jira cloud and have my token but in Jira cloud I can not find the Rest url I see in documentation like company.atlassian.net/rest/api/...

Could you please help me If I should install something or do some configurations?

thanks

2 answers

1 vote
Masoumeh Kheiri March 5, 2019

I created a project with some issues how can find the rest URL for this issue? 

Masoumeh Kheiri March 5, 2019

I can request https://bob.atlassian.net in postman by my token but not https://bob.atlassian.net/rest!

Masoumeh Kheiri March 5, 2019

or I can see http://localhost:8080/secure/admin/SDConfiguration.jspa in postman but not /rest/api, I think I miss something how to have this linked /rest/api added?

Masoumeh Kheiri March 5, 2019

If I useapp management.

then the url of my application with I will use in Get request will be the once Authorization for auth 2.0  gives me (it is not a /rest/  url)

Masoumeh Kheiri March 5, 2019

app management. 

gives us a url for get request but it's by creating a new application, how can we made URL for our cloud Jira site to be able to get data from it in C#?

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2019

@Masoumeh Kheiri 

I have given some sample C# code in this answer which should get you started. Remember that the query string that you pass in is the full path as we've described higher up in this thread

Masoumeh Kheiri March 7, 2019

I saw in a guide by replacing browse in 

Masoumeh Kheiri March 7, 2019

URL with rest/api/xxx/issue

Masoumeh Kheiri March 7, 2019

and adding .json at the end we can have the required file to pulldata from in C#

Masoumeh Kheiri March 7, 2019

but if in generalit works? if not how I can find this json file

Like Chase Whitfield likes this
Like Chase Whitfield likes this
0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2019
Masoumeh Kheiri March 5, 2019

I did but my problem is that I tried mycompany.atlassian/rest or localhost :port/rest/api but the error is that it is dead link, Can we chat?

Masoumeh Kheiri March 5, 2019

I use the sample url in that document but they are not exist, the problem should be in installing something or some kind of configurations?

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2019

Just to add to what Alexey has said, the first part of the URL is taken from your Jira instance, so if you look at the URL of your Jira, you need everything from https until the end of atlassian.net then you add the specific API call on the end.

So if your company is called bobthen from you Jira instance you will copy

https://bob.atlassian.net

and if you're performing a search, from the linked document, you add 

/rest/api/3/search

to give a call of

https://bob.atlassian.net/rest/api/3/search
Like claudio correia likes this
Masoumeh Kheiri March 5, 2019

O may be I should publish or share the issue to provide a rest link for it to be accessible via API

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2019

You do not need to share.

Just execute the url, which were given to you by @Warren in your browser. Just change the word bob to your domain.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events