I am trying to fetch the data from jira API where I am a jira Admin. I am getting 400 serer error.

Sachin Badiger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2025

I am trying to fetch the data by the below API end-point

 

api/2/issue/createmeta/[abc]/issuetypes

I am getting 400 server errors.
but the same endpoint with a different project just assumes it as "xyz" is working fine

api/2/issue/createmeta/[xyz]/issuetypes.

 

 

Also for the same project other end-points are working EX:

api/2/project/[abc]/workflowscheme

api/2/project/[abc]

 

I want to know why the API endpoint is not working for "abc" project

1 answer

0 votes
Marc - Devoteam
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 7, 2025

Hi @Sachin Badiger 

Check the logs on the server running Jira.

As the API works for one project it should work for all.

Do you have the correct permissions on project ABC, are they different then on XYZ?

Sachin Badiger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2025

Hi @Marc - Devoteam ,

I have administrative privileges on the project ABC. However, I am currently experiencing an issue where I am unable to obtain a response from the API. I will proceed to check the logs on the Jira server for further insights.

Could the large number of issue types in the project ABC, which currently has over 250+ issue types, be impacting the API response? I would appreciate your guidance on whether this could be causing the issue.

Thank you for your assistance.

Marc - Devoteam
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 10, 2025

Hi @Sachin Badiger 

Could be, the logs should provide more info.

Otherwise ty the API to search issues, then you can specify what the API should fetch more specifically.

Sachin Badiger
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2025

Hi @Marc - Devoteam 

Is it possible to see the logs by ourselves or do we need to reach the Jira support team to see the error logs? Any reference would be appreciated if it is possible to find the logs directly.

Marc - Devoteam
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 11, 2025

Hi @Sachin Badiger 

Yes. According to your tags you are running a DC. instance (so local install).

Log files are located on the server where Jira is installed, you would require access to the server.

Or ask the server admins.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events