How to know whether a JIRA sever is having APIs or not?

User February 22, 2021

Hello All,

 

I am a data analyst and want to take data from JIRA SERVER using API's. I read the JIRA API documentation in  https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/ but not able to figure out the URL to fetch issues from JIRA projects.

it is given that sample url "https://your-domain.atlassian.net/rest/api/3/issue/DEMO-1"

When I check with my JIRA Admin they do not know anything about API. 

Can you guys help in understanding about JIRA Rest API URLs. Does they were predefined or the JIRA admin should define this API urls through some scripting.

 

Any help is much appreciated. 
Thanks in advance

3 answers

0 votes
Muhammad Ramzan(Atlassian Certified Master)
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.
February 22, 2021

Hi,

Welcome to Atlassian community, as suggested by other members either you can use the above links for the API documentation or on your Jira server instance you can install 

Atlassian REST API Browser

After installing, you can just open it and it will show you all Rest end points inside your jira server.

Regards,

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 22, 2021
0 votes
Burak Kaya February 22, 2021

Hi,

You want to see the URL below;
https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/issue

The URL you sent in description is belong to Jira Cloud not server.

Regards,

User February 22, 2021

Hi Burak,

Thank you so much for your response.

I am trying to extract data from filters as shown below. May I know how to know the API name and version to fetch data from my filters?
image.png

Burak Kaya February 22, 2021

Hi there,

The API URL is written at the top-right of the page. (GET /rest/api/2/filter/{id})
It means the URL should be http or https://{host_name}/rest/api/2/filter/{id}, and request type should be "GET". Also authentication should be basic => user:password.

But apart from that, If you want to get the list of issues in a filter, this API does not work for you. It just gets the details of filter.

You have to use "Search" api. It gets JQL, max size and fields parameters and provides you get of list what JQL returns. I believe this is what exactly you need.

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/search

Suggest an answer

Log in or Sign up to answer