How do I access the API for self-hosted Jira Software?

Deleted user April 17, 2019

I am an admin on a Jira Software project and I need to access the corresponding API but I do not know how to get to it. I know the URL formula for the page I am trying to access is https://yourcompany.atlassian.net/rest/api/2/issue/ISSUE-123/transitions but I cannot come up with a URL based on this to access my own projects API. Is there something I am missing or perhaps any other way of accessing the API?

2 answers

0 votes
Craig Castle-Mead
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.
April 17, 2019

Hey Jake,

https://docs.atlassian.com/jira-software/REST/7.3.1/ (or https://docs.atlassian.com/software/jira/docs/api/REST/8.0.1/ for 8) are recent Jira Software REST API docs.

These docs reference "http://host:port/context" at the start,  and then any of the documented endpoints are assumed to go after this.

 

If your Jira dashboard is at something like https://example.org/jira/secure/Dashboard.jspa then you'd get a list of your projects via the project API at  https://example.org/jira/rest/api/latest/project

 

But if your dashboard was at https://jira.example.org/secure/Dashboard.jspa then you'd use https://jira.example.org/rest/api/latest/project/

 

CCM

0 votes
Kurt Klinner
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.
April 17, 2019

@[deleted] 

 

What kind of message do you get when you try to access your project?

Can you share a more detailed example how you are doing that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events