Forums

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

My jira url is code.company.com. How can i define the rest api url??

Arun June 23, 2018
My jira url is code.company.com. How can i define the rest api url??

1 answer

0 votes
Charly [DEISER]
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.
June 23, 2018

Hi @Arun

If you are talking about the Jira rest api it should go like this:

http(s)://code.company.com/rest/api/2/issue/XXX-1

code.company.com is your Jira base url after that you have to put the api resource you want to use, in this example is /rest/api/2/issue/XXX-1 which means we want to get the ticket XXX-1 info using the rest api.

Hope this helps!

Arun June 25, 2018

Hi Carlos,

Thanks for your reply.

I tried as you instructed.But I'm getting "This page can’t be displayed" error when I execute the url in IE browser.

Below is the link I tried.

http(s)://code.company.com/rest/api/2/issue/QMT-102

Charly [DEISER]
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.
June 25, 2018

Hi @Arun

Your url should be

http://code.company.com/rest/api/2/issue/QMT-102

or

https://code.company.com/rest/api/2/issue/QMT-102

that is why i added the (s). I don't know if you are running jira behind a secure connection.

Regards

Arun June 25, 2018

Hi Carlos,

yes, i tried both the links. same error i’m getting.

Charly [DEISER]
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.
June 26, 2018

That means that this is not your base url, maybe you have a context or a different domain name.

Which url do you use to access Jira?

Regards 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events